Josh's picture

 

I was wondering if there was a way to set up HubDNS for my main domain instead of a subdomain. 

 

so instead of having it update "www.mydomain.com" I want it to update "mydomain.com"

 

I would like to do this because i want my webserver to be accessable with and without the www. If there is another way i should be doing this please let me know! :) 

 

And the icing on the cake would be if i could have my web server update both the mydoman.com and www.mydomain.com. but no point getting greedy here ;) 

 

Thanks!

Josh

Forum: 
Alon Swartz's picture

HubDNS doesn't support naken domains, so you won't be able to do what you want with dynamic IP's. But if you get an elastic/static IP, and manually configure the records then you can get what you are after.

So, once you get a static IP, create an A record for www.mydomain.com for your server. Then create another A record for the naken domain (mydomain.com - don't specify a hostname) pointing to the same IP. Once thats done everything should work.

Bonus: From an SEO standpoint, you shouldn't serve the same website from 2 different domains, so I'd recommend you decide which domain (www or naked) as you primary, and configure the webserver to redirect requests for the secondary to the primary.

Hope the above helps.

Jeremy Davis's picture

That's news to me! :)

Add new comment