Install on IP domain
-
- Posts: 97
- Joined: Thu 2. Nov 2006, 15:42
- Location: London
Install on IP domain
is it possible to install phpwcms on an ip domain i.e. http://00.000.000.00/domain.com
I have tried this but with no success, just get 'FALSE' for all the folders at the end of the installation.
I have tried this but with no success, just get 'FALSE' for all the folders at the end of the installation.
I guess you would simply need to edit your
DNS Zone Files on your server or your hosting account.
Where I am hosted I have this "Domain Pointers" feature
which allows me to host as any domain name besides/under my main account.
This way, my DNS Zone Files are automaticly edited
as needed, and on the fly.
Hope this helps a bit ... ?
Cheers,
Yves
DNS Zone Files on your server or your hosting account.
Where I am hosted I have this "Domain Pointers" feature
which allows me to host as any domain name besides/under my main account.
This way, my DNS Zone Files are automaticly edited
as needed, and on the fly.
Hope this helps a bit ... ?
Cheers,
Yves
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
-
- Posts: 97
- Joined: Thu 2. Nov 2006, 15:42
- Location: London
well I have the option for 'domain reference' with my hosting account which I use when I have to develop a clients site first and then point their domain nameservers to my account. So what I end up with is a temporary address that looks like http://00.000.000.00/clientsdomain.com.
It would obviously be preferable to have the phpwcms installation here so that all I have to do is point the domain over to the hosting rather than move the whole installation.
on step 7 of the installation I have set the site basis to http://00.000.000.00/clientsdomain.com/ and root path to /var/www/html.
This doesn't work though... ha!
Hey its not the end of the world if its not possible, would just be nice
It would obviously be preferable to have the phpwcms installation here so that all I have to do is point the domain over to the hosting rather than move the whole installation.
on step 7 of the installation I have set the site basis to http://00.000.000.00/clientsdomain.com/ and root path to /var/www/html.
This doesn't work though... ha!
Hey its not the end of the world if its not possible, would just be nice
Hmm, that DOES ~look~ right...as long as you CAN browse to there.
Code: Select all
// site values
$phpwcms["site"] = "http://00.000.000.00/clientsdomain.com/";
// paths
$phpwcms["DOC_ROOT"] = "/var/www/html";
$phpwcms["root"] = ""; //default: ""
-
- Posts: 97
- Joined: Thu 2. Nov 2006, 15:42
- Location: London
Yes, you can browse there okay.
I've checked my conf.inc to those settings. when I load http://00.000.000.00/clientsdomain.com/index.php I get this wonderful message...
Warning: main(/var/www/html/include/inc_lib/dbcon.inc.php) [function.main]: failed to open stream: No such file or directory in /home/sites/waterfrontchurch.org/public_html/index.php on line 36
Fatal error: main() [function.require]: Failed opening required '/var/www/html/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/share/pear') in /home/sites/waterfrontchurch.org/public_html/index.php on line 36
I've checked my conf.inc to those settings. when I load http://00.000.000.00/clientsdomain.com/index.php I get this wonderful message...
Warning: main(/var/www/html/include/inc_lib/dbcon.inc.php) [function.main]: failed to open stream: No such file or directory in /home/sites/waterfrontchurch.org/public_html/index.php on line 36
Fatal error: main() [function.require]: Failed opening required '/var/www/html/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/share/pear') in /home/sites/waterfrontchurch.org/public_html/index.php on line 36
Then you CAN'T browse there (without error). Most often when you get that PHP error reference to (include_path=...) it means the path does not exist -or- file permissions prevent it from being "seen" by the user.daniel.grant wrote:I get this wonderful message...
Warning: main(/var/www/html/include/inc_lib/dbcon.inc.php) [function.main]: failed to open stream: No such file or directory in /home/sites/waterfrontchurch.org/public_html/index.php on line 36
Fatal error: main() [function.require]: Failed opening required '/var/www/html/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/share/pear') in /home/sites/waterfrontchurch.org/public_html/index.php on line 36
Since your two error messages shows you "executing" PHP from /home/sites/waterfrontchurch.org/public_html you should be setting $phpwcms["DOC_ROOT"] to THAT instead. The two possibilities for you would seem to be:
Code: Select all
// site values
$phpwcms["site"] = "http://00.000.000.00/waterfrontchurch.org/";
// paths
$phpwcms["DOC_ROOT"] = "/home/sites/waterfrontchurch.org/public_html";
$phpwcms["root"] = ""; //default: ""
OR
Code: Select all
// site values
$phpwcms["site"] = "http://00.000.000.00/";
// paths
$phpwcms["DOC_ROOT"] = "/home/sites/waterfrontchurch.org/public_html";
$phpwcms["root"] = "waterfrontchurch.org"; //default: ""
-
- Posts: 97
- Joined: Thu 2. Nov 2006, 15:42
- Location: London