Web Hosting Talk







View Full Version : Help! .. problem with (possibly) Apache (or Bind?).. Domains and IPs


Bandit_IC
06-24-2003, 05:39 AM
Hello,

For some reason now, my server's main IP address takes me to the directory of first account listed in my httpd.conf file.

From previous setups, the IP SHOULD just bring me to the "Apache successfully installed" page.

The URL is: http://64.246.52.25/

As you can see, this is bringing me to the default directory of the user with domain "mediacrafters.org" user and not the "Apache successfully installed" page.

Now, on my other domain name, http://www.rweconomics.com/, for some reason it IS bringing me to the "Apache successful page".

Also, my domain name www.mediacrafters.org is bringing me to the correct directory listing!

Does anyone know where this problem is coming from? What I want is the IP URL http://64.246.52.25/) to go to the "Apache successful" page and the domain names to go to their respective directory listings.

I have tried deleting the accounts and remaking them. My server is running Redhat 7.3 and I have Cpanel/WHM installed. I will post any config files if necessary (although I am positive the VirtualHosts section of httpd.conf is setup correctly).

Thanks for quick replies in advance!

- Jeremy

UH-Matt
06-24-2003, 05:51 AM
Create a virtual container ahead of the first accounts one and have it just goto /var/www/html/

sprintserve
06-24-2003, 05:52 AM
In Cpanel it is /usr/local/apache/htdocs

Bandit_IC
06-24-2003, 06:06 AM
Hi,

Thanks!! Now my IP IS going to the correct "Apache successful" page.

But there still is a problem with my other domain name, www.rweconomics.com . I have setup the account using WHM and have deleted it, and re set it up again, but for some strange reason it is going to the "Apache sucessful" page and not the rweconomics.com directory listing.

Any idea with that?

sprintserve
06-24-2003, 06:19 AM
when I click on rweconomics.com I get directed to the directory listing. Make sure you clear your cache and try again.

Bandit_IC
06-24-2003, 06:21 AM
Originally posted by sprintserve
when I click on rweconomics.com I get directed to the directory listing. Make sure you clear your cache and try again.

thanks for telling me. my ISP (adelphia) has a really crappy way of updating their DNS/nameserver/domain database.

I'm glad everything works now

Thanks for your help everyone