• Thanks to Michael Doig and Textpattern’s excellent tutorials I have managed to install WP using MAMP on my machine. My problem is now how to serve my blog to the outside world?

    I have a DSL account which means I have a dynamic IP address. I went to DynDNS, signed up for an account and account name. Problem is that whenever someone tries to access my site they don’t see anything. The connection never happens.

    I don’t know what the problem is but here is my setup:

    Mac OS X 10.3.9
    Linksys WRT54G
    Apache and MySQL servers running according to MAMP

    I think that my problem might be in the routing table for my router but I don’t know if that is the case or not. Any assist would be greatly appreciated. Thanks!

Viewing 13 replies - 16 through 28 (of 28 total)
  • ok,

    now go to your linksys router and forward port 80 to 192.168.1.100 port 80

    Do you use some sort of instant messenger service ?

    Thread Starter ironmac

    (@ironmac)

    Ok, let me get this straight, for:

    Application: http
    Start: 80
    End: 80
    Protocol: Both
    IP Address: 192.168.1.100
    Enable: Checked

    Thread Starter ironmac

    (@ironmac)

    And yes, I use MSN Messenger…look for [email protected] or simply IronMac.

    yeap, that should do it.

    (but it doesn’t because I still can’t access your site.)

    are you online (msn)? I don’t see you as being active.

    Thread Starter ironmac

    (@ironmac)

    Yep, I’m on Messenger right now, what’s your contact info? Maybe I can give it a shot. Man, I’m becoming pretty disappointed with hosting this on my own.

    just sent you an email with my msn screen name.

    Thread Starter ironmac

    (@ironmac)

    Ohh…I’m so sorry…but it’s trek790 at hotmail.com! Duh! The screen name is IronMac.

    I run WP on osx behind a router. If you want 1 on 1 help, feel free to email me at scott at scottfeldstein.net

    @ironmac or @scottfeldstein

    please write a how-to if you are successful!

    Thankxx,

    emeff

    Not exactly a howto but general steps are:

    1. make sure mamp is running on port 80
    https://www.mamp.info/en/help/faq/#83

    2. make sure your host has a static ip address
    https://www.portforward.com/networking/static-Mac10.4.htm

    3. then configure your router to forward requests for port 80 to your new static ip address’ port 80
    https://www.portforward.com/english/routers/port_forwarding/Linksys/WRT54G/HTTP.htm

    4. finally, IMPORTANT pray that it works.

    Good grief. You guys need to start at 0. Your machine’s IP address may be 192.168.1.2 or whatever, but that’s the IP addy your router is assigning to you. You need to find out the IP address the rest of the world sees. To do that, you can go to whatismyip.com and it’ll tell you.

    Since your *router* is actually at that IP address and it’s just directing traffic from the computers on the network, you have to tell the router *where* to send requests for the webpage. That’s where port routing/forwarding comes in. You’ll have to read your particular router’s manual to find out how to do this exactly, but most routers have a web-based admin (usually 192.168.1.1) and you set it up there.

    There are a couple of caveats to running your own server. The first is that you likely don’t have a static IP address with your ISP, so your IP may change. As a result a normal https://www.myserver.com addy won’t work because DNS servers won’t know where to look. To get around this, you can get a dyndns.org address. You’ll have to figure that one out for yourself, but it’s pretty straightforward.

    Setting up Apache on OS X requires nothing more than checking “web sharing” in the System preferences. You don’t need to worry about ports or anything because a standard WP install will run on port 80. Email me at torifile at mac dot com if you have any questions.

    Thread Starter ironmac

    (@ironmac)

    Scott or torifile, I’m going to be on MSN Messenger at IronMac (trek790 at hotmail.com) Saturday afternoon EST so if either one of you (or anyone else for that matter!) is free to help out that would be great.

    VaamYob was a great help yesterday in determining that the problem really isn’t with WP or Apache server. In fact, it turns out that, yes, Apache is running fine and is serving up WP. The problem seems to be that my router isn’t letting the outside world in. (Great for security…bad for serving up webpages.)

    Need to configure the router to send requests for 64.229.201.62 (ironmac.blogdns.com from DynDNS.com) to my machine on the internal network.

    Anyways, like I said, I will be on this afternoon and checking posts here too. Thanks everyone!

    Thread Starter ironmac

    (@ironmac)

    Update…after a very brief exchange with Michael Doig, it turns out that MAMP is only meant to serve up WP locally…not to serve up your weblog to the outside world.

    If I want to serve up WP to the outside world then I will have to enable Apache, MYSql, and PHP on my system. Luckily, there are a couple of tutorials out there that I (or you) may want to try our hands at. The first is from Nerd Vittles (who is actually using WP) and the other is from O’Reilly (MacDevcenter.).

    If anyone wants to share their experiences with doing this please do here. If not, I may be back. ??

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘Serving WordPress from OS X?’ is closed to new replies.