DIYMacServer » Everything else

2 posts

Matching user account name and domain name

started at 20 Nov 2009
started by louiscox
last reply from richard
  • 20 Nov 2009
    #

    Hi, oppologies if this is in the wrong section. Please let me know, and I will move it.

    I have a very irritating problem.

    I created my account username om my Mac ( OSX 10.6.2 ) long before I created my website. If we take it that my user account name happens to be 'myname' and my website happens to be http://www.myname.com. I hadn't noticed it was a problem until the other day. I changed the site base ref to work from http://myname.com away from http://www.myname.com

    The problem is on my Mac, the address http://myname.com is referring to the local web server, ie pre installed Apache and library/webserver/documents not the actual web address. If Web server is switched off via the sharing control panels - the address returns a google not found page? which seems very odd. It will also do this from any user account - identical results, so I know the Mac has reserved the name in some way.

    I dont want to rename my user account. I cant see my own website on my Mac which is very frustrating, as my website root is forcing all traffic to http://myname.com ( which is what I want of course ) and not http://www.myname.com. I have to use Parallels with a version of Windows to see the site properly.

    Naturally I continue to search all the archives I can but to no avail - maybe Im looking in the wrong areas.

    If anyone has any idea I'd be very grateful.

  • 20 Nov 2009
    #

    Did you by ny change put myname.com into our /etc/hosts file with the ipaddress of your local computer? Remove that and ou should be fine.

Reply

You must log in to post.