1029 posts
  • Has referred 500+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
ThemeBlvd says

I’m new to all this networking stuff and was hoping someone could help me out with this…

So, I have MAMP running on my macbook where the sites I’m working on are. Currently from any computer in my house (on my local network) I can view the sites hosted on my macbook by going to an address like this:

http://my-macbook-name.local:8888

This works well for me. I can keep my sites on my laptop and view them from any computer. If I bring my laptop to the coffee shop or whatever, I can still work on my sites the way they’re configured.

I just bought a new PC with Windows 7, turned it on, and connected to my local network. When I go to that above address the server is not found. I can’t access my MAMP sites that way.

However, if I go to my macbook’s IP address like this from my new PC:

http://XX.X.X.X:8888

It works. However, this doesn’t really work for me because if I setup my wordpress sites with this address, then every time I took my macbook outside my house to another network, my IP will change, and then I’d have to reconfigure my wordpress site url in order to work on the site while I’m out.

So, my question is: How can I access my MAMP hosted sites by going to the address that looks like this from my Windows 7 PC (on the same local network)?

http://my-macbook-name.local:8888

Any clues? Thanks in advance :-)

1799 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+4 more
BroOf says

You could install a dns server on your mac.

Or

did you tried to just put the name of your mac (I only know windows so I don’t know if macs have names) in the adressbar of your browser?

595 posts Themes and Graphics
  • Has been part of the Envato Community for over 5 years
  • Has referred 50+ members
  • Has sold $250,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+9 more
Bebel says

You are looking for http://www.dyndns.com/

363 posts
  • Member of the Envato Team
  • Has been part of the Envato Community for over 5 years
  • Has sold $10,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+8 more
Philo01 Envato team says
2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact says
1029 posts
  • Has referred 500+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
ThemeBlvd says

Mac’s are already setup like this to be accessed on a local network so I don’t think I need to actually do any kind of DNS . Currently I have a mac pro and a laptop with Vista. On both, I can already go to:

http://my-macbook-name.local:8888

And it works. I see the MAMP sites hosted on my macbook. It’s just on the new computer with Windows 7 that it doesn’t work? That’s what I don’t understand.

1029 posts
  • Has referred 500+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
ThemeBlvd says

I finally figured it out! From Philo01’s suggestion I did some more research on the topic of editing the hosts file.

I found this tutorial online saying how to edit the “hosts” file on Windows 7:

http://helpdeskgeek.com/windows-7/windows-7-hosts-file/

So, my macbook pro has the name “macbook”. So in order to see my MAMP site over on my new PC, I edited that hosts file and simply added this line:

XX.X.X.X macbook.local

Basically forwarding “macbook.local” in the browser to the IP address of the macbook. Now I can see my WordPress site on my PC by going to macbook.local:8888 in the browser when my laptop is on. Then if I want to go out to the coffee shop or whatever, I can work on my site directly there on the laptop and see the site on my laptop at the exact same address (macbook.local:8888). Thus, home, school, Starbucks, I can edit my site without having to change any WordPress settings. The perfect workflow. Thanks, guys :-)

3429 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says
I finally figured it out! From Philo01’s suggestion I did some more research on the topic of editing the hosts file.

I found this tutorial online saying how to edit the “hosts” file on Windows 7:

http://helpdeskgeek.com/windows-7/windows-7-hosts-file/

So, my macbook pro has the name “macbook”. So in order to see my MAMP site over on my new PC, I edited that hosts file and simply added this line:

XX.X.X.X macbook.local

Basically forwarding “macbook.local” in the browser to the IP address of the macbook. Now I can see my WordPress site on my PC by going to macbook.local:8888 in the browser when my laptop is on. Then if I want to go out to the coffee shop or whatever, I can work on my site directly there on the laptop and see the site on my laptop at the exact same address (macbook.local:8888). Thus, home, school, Starbucks, I can edit my site without having to change any WordPress settings. The perfect workflow. Thanks, guys :-)

another solution is to ignore mamp completely and use the default server on OSX it takes some modification to set everything up but I use it with VirtualhostX and VMware but virtual box also works great

EDIT : this article may help its similar to how I have my set up CLICK !

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by