Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

http://i.stack.imgur.com/JJfwN.png

I can go to http://www.example.com and www.example.com just fine. The name servers seem to be setup ok.

However, I cannot go to http://example.com or example.com

I imagine i need to do something with the "records" or something. I am truely lost and I would greatly appreciate any feedback on what I should do.

EDIT: im using nginx, jetty, amazonwebservices, and ubuntu if it matters

Thanks

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Looks like you haven't completely configured your nameserver yet.

Your image shows that you don't have a DNS entry for example.com - you only have an entry for www.example.com. The Interstate53 FAQ has instructions on how to add the entry.

Note that when you add a new A record using the web interface, the name field is optional. Leave it blank to define a record for example.com.

share|improve this answer
    
will do it now and post the results. Thanks! –  DoomPirate Jun 3 '11 at 1:23
    
it appeared to me that the namefield was mandatory. But like you said, it was optional. It is working great now, thank you so much! –  DoomPirate Jun 3 '11 at 1:27
    
No worries, glad to help. –  Tom Shaw Jun 3 '11 at 1:28

Given you state the DNS records appear OK, most likely it is a configuration issue with your web server.

Web servers often use Name-based virtual hosting, so most likely it is configured to use www.example.com but not example.com - within Apache2 this is defined under "ServerAlias", not sure if you have Apache sitting in front of your nginx or not, but either way you need to add an 'alias' of mysite.com to whichever is your front-line webserver.

share|improve this answer
    
Ok, I'll try messing around with nginx because I'm not actually using Apache at all. Thanks for the help!!!! –  DoomPirate Jun 3 '11 at 1:13
    
I think Tom's solution is actually more correct, try his first.. if it's still a problem then I would look at what I stated. –  Trent Lloyd Jun 3 '11 at 1:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.