Install on IP domain

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Install on IP domain

Post by daniel.grant »

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.
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

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
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Post by daniel.grant »

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 :D
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Why not ?

Just another document root ...

Beware of some dutys mostly running as 1.2.3.4.5/phpmyadmin and so on

Just look around in the vhost.conf for route of IP
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Hmm, that DOES ~look~ right...as long as you CAN browse to there. :lol:

Code: Select all

// site values 
$phpwcms["site"] = "http://00.000.000.00/clientsdomain.com/";

// paths 
$phpwcms["DOC_ROOT"] = "/var/www/html"; 
$phpwcms["root"] = ""; //default: "" 
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Post by daniel.grant »

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
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Post by update »

Do you really have a waterfrontchurch.org/public_html/index.php ?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

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
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.

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: ""
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Post by daniel.grant »

thanks DeXXus for your advice, is all working great now. This is really useful to me so I am rather happy :D
Post Reply