Web Hosting Talk







View Full Version : Apache problem.


toma1708
08-16-2002, 05:14 AM
Hi,

Here is the problem:

when trying to access a site I am redirected to the well known

Hey, it worked !
The SSL/TLS-aware Apache webserver was
successfully installed on this website.
...

Which is the problem here ?

Thank you.

MotleyFool
08-16-2002, 05:25 AM
There could be a few reasons. Listing what I guess:

You have probably not put the <VirtualHost> container for the site in httpd.conf

You have put a documentroot that doesn't exist

Your <Virtual Host > container is commented out

If you are using ServerNAme as mydomain.com, you have probably not added www.mydomain.com as an alias

Or the IP on which httpd is listening is diff from the IP you have put in the Virtual Host container

toma1708
08-20-2002, 03:06 AM
Thanks for the tip. It was the IP which had to be changed.

However, I have another problem.

When I am uploading a page (index.html) in the public_html directory, the same page is showed when accessing other domains hosted on the same server.

What should I do ?

MotleyFool
08-20-2002, 03:10 AM
Under each <VirtualHost> container put a DocumentRoot /path/to/domain/