When trying to restart httpd I get the following:
Now recently we had a1.website1.com and changed it to a2.website2.com and then completely removed a1.website1.com, but for some reason it is still "viewing" a1.website1.com and not recognizing a2.website2.com.
The httpd.conf file was never touched when the first website was there... But at the time everything was fine, and since we've made the change over, now restarting gives the error above, so when trying to view files from a2.website2.com it comes up
with file not found error.
How can we fix this up so that the server can see a2.website2.com and be able to view files?
(Note: a1.website1.com and a2.website2.com are just examples not the actual websites, there is no apache2 folder only a httpd folder which holds the httpd.conf file (/etc/httpd/conf/httpd.conf). As stated the httpd.conf file was untouched and in its
original configuration)
Any help would be great.
Code:
service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot [/var/www/vhosts/a1.website1.com/httpdocs] does not exist
Warning: DocumentRoot [/var/www/vhosts/a1.website1.com/httpdocs] does not exist
Starting httpd: [ OK ]
Now recently we had a1.website1.com and changed it to a2.website2.com and then completely removed a1.website1.com, but for some reason it is still "viewing" a1.website1.com and not recognizing a2.website2.com.
The httpd.conf file was never touched when the first website was there... But at the time everything was fine, and since we've made the change over, now restarting gives the error above, so when trying to view files from a2.website2.com it comes up
with file not found error.
How can we fix this up so that the server can see a2.website2.com and be able to view files?
(Note: a1.website1.com and a2.website2.com are just examples not the actual websites, there is no apache2 folder only a httpd folder which holds the httpd.conf file (/etc/httpd/conf/httpd.conf). As stated the httpd.conf file was untouched and in its
original configuration)
Any help would be great.