[SOLVED] Messed up my Virtual Web Servers

1 post / 0 new
#1 Tue, 01/24/2017 - 22:41

[SOLVED] Messed up my Virtual Web Servers


ok the short:

I had web server for mydomain.com and it was working doc root /home/user/public_html/wpsite I was trying to add new.mydomain.com and the php wasn't working doc root /home/user/public_html/new

I coppied the directives from the site that was working changin the server allias and doc root but this did not get the php working

so I deleted all the virtual web servers except default and automatic with doc root at /var/www/html

Now when I create a virtual web server and point it to mydomain.com with doc root /home/user/public_html/wpsite I get redirected to doc root /var/www/html

How can I fix this? I don't want to start over on this again it took me over a week to get the email server going correctly. and I have a dead line by the 30th.