Jump to content

How to share local website (from mamp) to other computers in the network


akurtula

Recommended Posts

Hi

 

I got my first mac few months back and been using MAMP for my websites. I just read an article that said that I could enable "web sharing" from the preferences. This would enable me to view the websites from my mac on my PC.

 

However, this only allowed me to view HTML files.

 

So is there a way to share the MAMP websites? so that I would not only be sharing html but also php and mysql.

 

 

As I said this is very new to me so I am sorry if I am not using the correct terminology,

 

I hope you can help

 

Thanks

Link to comment
Share on other sites

I am not familiar with MAMP but I have used WAMP in the past. Basically, you need to enable your MAMP to be online and configure it so that it displays php along with the database content. Odds are that the url you use to view it via on a Mac may not be the same when viewed from any other computers whether be a Mac or Pc. There is more to what I am saying here which I believe this is best answered by the the folks at the MAMP Forum.

Link to comment
Share on other sites

If you are just talking about viewing the page locally within your home network, you don't need to turn on OSX's built in webshare. MAMP can share pages perfectly fine, you just need to punch in your mac's ip adress from the PC, and then the port number for MAMP, as far as i recall it runs on a port 8888, so you would have to punch in for instance 192.168.1.10:8888 in the PCs browser

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...