PDA

View Full Version : Website directory path is different


laptop_user
7th October 2011, 16:41
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
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 :)