PDA

View Full Version : Apache and DNS


dwpondscum
26th February 2008, 21:25
I have installed Apache 2, and am working toward a dovecot sytem on Fedora 7. Apache is working fine with the exception on how my domain name is resolved with my machine. I have a simple router using port forwarding to my linux box with a static IP address for the public and private ip addresses. The hostname of my linux box is mail.domain.com. Domain.com is registered to the public ip address of my router.

I can browse to the following and they work fine:
http://mail.domain.com
http://domain.com

But http://www.domain.com does not work. I have the same setup working on another linux box. What am I missing? I even tried changing the hostname to www.domain.com. Still http://www.domain.com would not work. This machine will host the http and mail MX records, so apache and dovecot will be running on the same machine.

HELP!

Dave

topdog
26th February 2008, 21:34
You need a DNS record www.domain.com pointing to your public ip address.

dwpondscum
26th February 2008, 22:51
That is what I thought as well. After some other investigation. Turns out the ISP did not have that setup on their end! Figures, it would have been something simple. Now if I could just get that dent out of my monitor shaped like my head!

Dave