- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 50 and 99 items
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Referred between 500 and 999 users
- Sold between 250 000 and 1 000 000 dollars
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:
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 
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?
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 100 and 499 items
- Europe
- Exclusive Author
- Featured in a Magazine
- Has been a member for 3-4 years
You are looking for http://www.dyndns.com/
- Envato Staff
- Reviewer
- Sold between 10 000 and 50 000 dollars
- Author was Featured
- Item was Featured
- Has been a member for 4-5 years
- Bought between 50 and 99 items
- Contributed a Tutorial to a Tuts+ Site
- Beta Tester
You could also edit your hosts file: http://windows7themes.net/how-to-edit-hosts-file-in-windows-7.html
What about http://www.teamviewer.com/ ?
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 50 and 99 items
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Referred between 500 and 999 users
- Sold between 250 000 and 1 000 000 dollars
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.
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 50 and 99 items
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Referred between 500 and 999 users
- Sold between 250 000 and 1 000 000 dollars
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 
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 !
