HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Website directory path is different (http://www.howtoforge.com/forums/showthread.php?t=54472)

laptop_user 7th October 2011 16:41

Website directory path is different
 
Hello all,

I stumble upon a problem. When I create FTP user for my website I can use th FTP and upload file just fine. The problem is my website directory is different.

My domain directory is at /var/www/clients/client0/web5/web/index.html - but the thing is if I edit index.html or upload my file in this via FTP, no changes will be made. I can't see any differences at www.mydomain.com

My REAL index file is at /var/www/index.html - changes will be see at www.mydomain.com if I edit index.html in this directory.

Please help:o

falko 8th October 2011 12:26

Did you create www.mydomain.com through ISPConfig? Because ISPConfig doesn't create any vhosts with the document root /var/www.

till 8th October 2011 14:27

Just a guess: either you missed to enable auto subdomain www in the website settings or you selected thevwrong ip address in the site settings.

laptop_user 8th October 2011 14:54

Quote:

Originally Posted by till (Post 265049)
Just a guess: either you missed to enable auto subdomain www in the website settings or you selected thevwrong ip address in the site settings.

your latter guess is correct. I change my vps location and my provider issued me a new IP. My old IP is already added to the system and I use my old IP when I create website.

Just curious how do you know about the wrong IP selection problem? My guess is this problem has happen before.

Appreciate the responses from both of you. Problem solved. Thanks again.

till 8th October 2011 18:53

Apache routes all unkown requests to the /var/www folder. A unknown request is when apache does not find the combination of ip and domain, subdomain or alias in its configuration files. So the reason for your problem must have been such a mismatch :)


All times are GMT +2. The time now is 23:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.