- This topic is empty.
May 4, 2013 at 4:21 pm #44554
I am currently developing a wordpress site locally using MAMP PRO.
I would like to test this site on my iPhone but am not sure how to configure my mobile device to talk to the local server.
Does anyone have any information on how to get this working or point me in the right direction? Do you need another application to do this, or can it be done with mamp/IP address etc?
ThanksMay 4, 2013 at 6:06 pm #134091TreeRootParticipant
I can’t give you anything specific to MAMP PRO, but I can tell you how I got this working with a localhost/development copy of Apache. This page helped me figure out a way to accomplish this:
What I needed to do was implement the settings within my router’s “DHCP / DNS Server” settings. I had to enable “Use internal DNS” within my router. So, let’s say I had the following Apache VirtualHost’s setup to test some site(s).
I’d have to implement the following within my router’s DHCP/DNS settings:
The IP number at the end would be your local IP address.
So, if you were to implement something like this and enter the following URL’s in your mobile device:
The router would reroute that to your site in MAMP. Any device with access to your LAN would be able to connect to those addresses as well.May 4, 2013 at 9:37 pm #134104SenffParticipantMay 5, 2013 at 10:22 am #134142
Thanks for your responses guys. Some good information there.
The problem is I can get to the local domain no problems using either the IP address or through the terminal, but I can’t seem to connect to the wordpress database. (at least, this is what I think the problem is)
I just seem to get the index page (no styling). When I click on another page, it says the page cannot be found.
Any ideas what this could be? I have tried googling around but cannot find specific information on connecting to a local wordpress installation. Maybe I am not looking in the right placesMay 5, 2013 at 10:52 am #134147
Turns out it is just simply calling the IP address. Only thing I missed was not putting the IP address as the website URL in the wordpress adminMay 5, 2013 at 11:33 am #134150smcrParticipant
I’ve had the same problem seeing my localhost test site on my iphone. All I can get is an unstyled page. In the WordPress General Settings I have:
The x’s are of course the IP address and “wordpress” the folder housing all the wordpress files. Are your settings different from these?May 5, 2013 at 12:14 pm #134152
@smcr yes I know what you mean. To get it working I didn’t follow the article exactly.
In the two wordpress URL’s in admin, enter the following only…
So only the IP address. Make sure you write that in both boxes. Then navigate to this IP address on your mobile.
Forget the port at the end, and the name of the host, as this was causing it to fail for meMay 5, 2013 at 7:48 pm #134174smcrParticipant
got it, thanksMay 7, 2013 at 1:57 am #134312contentJonesMemberMay 2, 2019 at 4:06 am #287261GarryJonesParticipant
Which is the best product among those listed in this site?
https://buywirelessrouternow.com/best-wireless-router-for-home/July 27, 2019 at 8:35 am #293439GarryJonesParticipant
Who can recommend to me the best product among those in the list on this site?
- The forum ‘CSS’ is closed to new topics and replies.