PDA

View Full Version : Plesk DNS Problems


interactive
03-29-03, 04:53 AM
Hello,
This is really starting to agrivate me. Here are all of my dns records:


domain. com. NS ns1. nameserver. com.
domain. com. NS ns2. nameserver. com.
ftp. domain. com. A 192.168.0.1
mail. domain. com. A 192.168.0.1
webmail. domain. com. A 192.168.0.1
domain. com. A 192.168.0.2
www. domain. com. A 192.168.0.2
domain. com. MX 10 mail. domain. com.
69. 10. 141. 234/24 PTR domain. com.


(replaced with different vales for domain and IP)

Now just http://domain.com/ works. But http://www.domain.com doesn't work. I'm sure its something simple any ideas

By the way this site is name based. 192.168.0.1 is replacing the main server ip and 192.168.0.2 is replacing the domain's ip. Thanks

allan
03-29-03, 04:58 AM
Its probably your Apache config. You probably have the server set up as domain.com, but did not create a server alias for www.domain.com

interactive
03-29-03, 05:01 AM
Hmm, well I don't want to mess up Plesk by changing anything (learned the hardway on a old server). The weird thing is it works for name-based hosting.

Rewdog
03-29-03, 06:26 AM
This worked for me once,
In the account preferences is "www prefix" checked?
If it is, uncheck it, and try the site again. Then Check it again :p:

interactive
03-29-03, 06:38 AM
Hmm. I found something weird out. When I ping www.trafficsol.com I get my main server ip. But it shouldn't be the main one. Ping it for me guys and tell me what you get please.

Robert
03-29-03, 06:43 AM
I'm lazy, so instead of creating an A Record (www. domain. com. A 192.168.0.2), create a CNAME

it would look like this:

www.domain.com CNAME domain.com

Much easier and should work.

interactive
03-29-03, 06:44 AM
Hmm I'll try that. Originally that was there and it wouldn't work all togethor.

Chicken
03-29-03, 06:50 AM
http://www.trafficsol.com/ and http://trafficsol.com/ returns 69.10.141.234

I get to the site just fine using either.

interactive
03-29-03, 06:55 AM
oh. That's screwed up. I guess I'll have to wait for the DNS changes to go through.