Hosting website using Mac OS Apache

Discussion in 'macOS' started by gdc, Aug 25, 2009.

  1. gdc macrumors member

    Joined:
    Aug 11, 2009
    #1
    I understand that Mac OS X has Apache built in and that I can host a website I put in Library/WebServer/Documents, which will be found at http://myipaddress (I will have a static IP address form my ISP).

    If I then want to use my own domain name instead of an IP address, do I just need www.mywebaddress.com to point to myipaddress, which I guess I can do at my registrar's control panel?
     
  2. paulbeattie87 macrumors regular

    Joined:
    Aug 17, 2008
    Location:
    North East Scotland
    #2
    Yup, you want to change the A record for your domain to point to <i>myipaddress</i>. Once that's done you'll have to wait a few hours for DNS to propagate and then it should work.

    You might have to open ports on your router such as 80 to allow people access to the web server.
     

Share This Page