Simple Question, Simple mind

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
bwv2
Forum Commoner
Posts: 83
Joined: Fri Jun 10, 2005 11:50 am
Location: AZ

Simple Question, Simple mind

Post by bwv2 »

I'm new to server administration, so I have an easy question. I have been messing with my domain's DNS configuration trying to get it to resolve to the right place. I'm 99% there, but still have one issue. Let's say my domain name is "simplemind.com". The website comes up in the browser if I type: "simplemind.com", but it does NOT come up if I type "www.simplemind.com".

My nameservers are called, let's say "smp1" and "smp2". Which DNS records must I change, and to what? Any help would be greatly appreciated.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

I am not sure how to do it but you need to set up a subdomain as www.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

I'm not sure what you have to do in the nameservers. I'd imagine put in an entry for http://www.simplemind.com just like you did for simplemind.com.

There is configuration you need to do on the webserver itself as well. In the Vhosts.conf file (assuming you're using Apache & Linux), you'll likely have a VirtualHost entry for either the IP for simplemind.com or the actual name simplemind.com. Regardless, in that entry, you need to add a new line:

ServerAlias http://www.simplemind.com
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply