Domain Parking

msk19994

New Member
YetiShare User
Apr 16, 2013
40
0
0
Hey Guys
So i have got a domain abc.com where the script is hosted and wanted to park another domain on it suppose def.com but when i do that and goto the site via def.com it says
Config not found!

The config for this domain has not been found in /_config.inc.php

$_SERVER['HTTP_HOST'] reported current site as def.com

Please update /home/hgr/public_html/_config.inc.php to the correct host:

define("_CONFIG_SITE_HOST_URL", "def.com ");
Is there a way to remove this ?
It would be great if someone could help me out here
Thanks
 

msk19994

New Member
YetiShare User
Apr 16, 2013
40
0
0
I dont want to redirect it but park it mate.
Is there a solution for the parked domain to work
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Not as far as I know, Will have to wait on Adam I think

But you could try replacing this in _config.inc.php

Code:
define("_CONFIG_SITE_FULL_URL", "www.yourdomain.com");
With

Code:
$host = $_SERVER['HTTP_HOST'];
define("_CONFIG_SITE_HOST_URL", $host);