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.
Simple Question, Simple mind
Moderator: General Moderators
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
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
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.