Support » Localhost Installs » Making a locally hosted WP site viewable over the internet

  • I am hosting wordpress locally on my computer at home.

    I access it by typing localhost/wordpress

    is there a way to make it to where another user on an external computer (i.e. like my dad using his computer and internet at his house) can access my wordpress site and view the pages?

    how do I do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dad’s computer and your computer do not need Internet access. You can setup Ethernet or other kind of LAN for sharing if physical distance is not a huge. You have to install WordPress on shared folder in that case or you an change the path of shared folder.

    For the precise question “Making a locally hosted WP site viewable over the internet” – yes, definitely it is possible. All you need is a fixed IP. Localhost IP is, that is constant for all. For server we make a kind of ‘alias’ with a fixed IP. That is actually easy even for Windows –

    If for example, you IP is (search with “what is my IP” in Google), pointing your browser towards that IP, usually opens your localhost for a fixed IP.

    Advanced :

    But no one surfs the web with an IP, but a domain name. So we basically need a router and set a set of NS. There are third party services which does the job for ‘just testing’ purposes. Some ISP provides a NS, that works fine. It is basically not that difficult, but never set such setup with your personal computer, people can hack your computer if you make a part public. A simple flaw of security can be exploited.

    With Ubuntu or any Linux / Mac OS X Lion / BSB it is quite easy. Simple installation of some components turns them as a server itself.

    Basically the things are dependent on a static IP and router. The Operating System / Software part is really not a major player.

    let me clarify

    #1.) I’m running on MAC OS X 10.8.4 – Mountain Lion.

    #2.) My dad and I don’t live at the same place. We’re 35 miles apart. so yes, we do need the internet lol to communicate with each other’s computers.

    I have a fixed IP, but I don’t know how to do this on a MAC. Also using a Linksys E-3200 router, comcast hi-speed internet.

    what is NS?

    I am also running Mac OS X 10.8, no problem, its more easy. Mac since 10.7 has added easy to install LAMP server configuration like Ubuntu or other Linux. Its just not active by default.

    Again, I am sending you to my another guide :

    In short, you can manually configure for OS X – Apache – MySQL – PHP on OS X 10.8 (its no more Mac OS X) or use MAMP like software.

    Keep your Mac online like server, give your dad the IP (bookmark it in his computer), he should be able to access it over Internet.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Making a locally hosted WP site viewable over the internet’ is closed to new replies.