.Mac person Domain - DNS NameServers

Hustle

macrumors 6502a
Original poster
Jul 29, 2007
762
82
USA
I wonder if anyone can help me. I recently canceled my paid server, as .Mac released the personal domain, however, i can't get it to work.

I've logged into my .Mac and set up my domain and i've changed my DNS Nameserver to web.mac.com but its not working.

This was 3 days ago. Am i doing something wrong/missed something out?.

Thanks
 

wfrussell

macrumors newbie
Aug 9, 2007
7
0
this is not working for me either. i changed the cname and everything correctly. i use godaddy as well, but i can't figure out if it's godaddy or iweb. i tried resetting my cname record and set up my personal domain to forward to my iweb domain and that didn't work either.

any thoughts?
 

nfcatt

macrumors member
May 7, 2006
42
0
Be Patient...

Hi Hustle,

I edited my DNS entries to add a custom CNAME.. I left the other DNS settings alone. It took a few days to work...

Nelson..
 

Nugget

macrumors 68000
Nov 24, 2002
1,802
673
Houston Texas USA
Without knowing the domain name it's pretty much impossible to help you debug this sort of issue. Most likely guess is that your DNS provider uses a long TTL (time to live) value for your zone records and it's taking a long time for the old DNS entries to expire.

Just to be sure, you didn't actually "change the DNS nameserver to web.mac.com" did you? That's not what you need to do. Your nameservers should stay with whoever you're paying to host your DNS and you should update the record for "www.example.com" to be a CNAME to web.mac.com.
 

Nugget

macrumors 68000
Nov 24, 2002
1,802
673
Houston Texas USA
Yeah, requiring the "www" is an annoying limitation. If you're not set up to do redirection like ViperDesign has done you can get around it by putting in an A record for the base domain. That will function, but it will break if Apple ever changes the IP address for "web.mac.com" in the future (which they almost certainly will do at some point in time).
 

Nugget

macrumors 68000
Nov 24, 2002
1,802
673
Houston Texas USA
It's not possible without involving a second server (in addition to the .Mac servers). Here's how I do it. YMMV.

I run an apache server on a host, with virtual hosts enabled. There's a virtual server for "macnugget.org". All requests to that virtual host are configure to redirect (via mod_rewrite) to the proper formed urls with "www" on them. I also use the vhost to catch people who have mis-typed "ww.macnugget.org" or other variations of the URL which I don't want people to use.

Here's what goes in httpd.conf:

Code:
NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin nugget@macnugget.org
    DocumentRoot /usr/local/htdocs/macnugget.org
    ServerName macnugget.org
    ServerAlias w.macnugget.net
    ServerAlias ww.macnugget.net
    ServerAlias carrera.macnugget.org

    RedirectMatch permanent ^/(.*) http://www.macnugget.org/$1
</VirtualHost>
What's particularly nice about this approach is that rest of the URLs aren't lost in the redirection. So if someone has linked to http://macnugget.org/photos/ the browser will be automagically redirected to http://www.macnugget.org/photos/ and still arrive at the page they were trying to reach.

Observant users will notice that this example is somewhat synthesized. In reality, I do the exact opposite of this, redirecting all "www.macnugget.org" requests to just "macnugget.org". I hate the silly, vestigial "www". But, of course, the same technique will work fine as shown above to accommodate .Mac personal domain hosting.
 

ViperDesign

macrumors 6502a
Aug 7, 2007
650
505
Utah
How do you forward requests from http:// to the www? Thanks!
In Godaddy after you changed the A record (or whatever they have you change) you click on the forwarding link and enter the www address. And your done. All requests going to http will be forwarded to www :)

Very easy