Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two different websites in two different linux folders using apache

Status
Not open for further replies.

ginblossom

Programmer
Jul 30, 2002
2
US
We have a linux suse webserver running two different websites that was stored in two different folders. Its something like this :

Website1 can be found at : /usr/local/apache/htdocs/website1

Website2 can be found at : /usr/local/httpd/htdocs/website2


Before, these two websites are both working and it can be viewed from its URL. Then one day website1 cannot be accessed anymore. Now my problem was I dont know what went wrong. What are the most possible reasons to trouble shoot this scenarios? I cannot also just move website one to httpd folders since I need mysql and php.

Please help

thank.
 
Are both sites using the same IP address? If you, check your &quot;NameVirtualHost...&quot; directive and check your &quot;ServerName&quot; directive inside your &quot;<VirtualHost...&quot; directive.

If not, what is the behavior of apache? ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top