Live data from Hacker News

Subdomain Me - add www with an A record

subdomain.me

11–20 of 31 posts

Re: Subdomain Me - add www with an A record

#12
post #7
post #3

If you have Godaddy, they allow you to forward your domain to www for free. I do that with my GAE apps.

Thanks, I didn't realize that. I've been using godaddy for eons and have looked for this feature on their confusing site before. I'll look again.

Let me know when you find out how to do it. I have my www. subdomain pointing to Google Sites, and I'd love for the naked domain to go there too.

Re: Subdomain Me - add www with an A record

#15
It's a pretty clever idea, I've come across loads of sites that have a naked domain but no www.

As clever as it is though, it serves no real world purpose, anyone clever enough to setup up their own domain will be able to set up a www subdomain, be it dns level or using a 301 redirect.

Re: Subdomain Me - add www with an A record

#16
post #11

That's weird, I usually go the other way - I redirect the www to the naked domain.

I may be wrong here, but I think there's one good reason to use anything.example.com instead of example.com: with the naked domain, you can't have a separate domain for static assets which the client doesn't send the cookie to (for performance improvement). If you set a cookie with the domain example.com, it will still get sent to static.example.com.

Granted, you could use examplecdn.com or something, but then you have to register and manage more domains.

Re: Subdomain Me - add www with an A record

#17
post #11

That's weird, I usually go the other way - I redirect the www to the naked domain.

I may be wrong here, but I think there's one good reason to use anything.example.com instead of example.com: with the naked domain, you can't have a separate domain for static assets which the client doesn't send the cookie to (for performance improvement). If you set a cookie with the domain example.com, it will still get sent to static.example.com. Granted, you could use examplecdn.com or something, but then you ha…

Isn't that what the domain portion of the set-cookie header is for?

Re: Subdomain Me - add www with an A record

#20
post #11

That's weird, I usually go the other way - I redirect the www to the naked domain.

only reason www is usefull is because common cms (forums, blogs, comments, ....) convert www.example.com to a clickable link, but example.com not. yeah stupidbutthats the way it is.....
Post reply on HN