• Resolved ewencameron1

    (@ewencameron1)


    Hi I realise this is might be more of a Mamp problem but the Mamp forum is pretty slack so you often don’t get an answer, if anyone can help I appreciate it.

    I am using Mac OSX 10.6.7 Mamp PRO 1.9.5 with a supplied Virgin Media cable modem (UK) which goes into my Airport Extreme router set up.

    I am very much a noob at his sort of thing but have read quite a few various web articles about how to show your locally developed website to your client on their external machine using WordPress and Mamp Pro with Dyanmic DNS settings (which should apparently mean I don’t need a DynDNS Updater).

    I have set-up port mapping on port 80 on the airport but I didn’t turn on web sharing in the sharing prefs as this will start another version of apache which apparently conflicts with mamp pro version.

    Everything seems to work ok locally using ports 80 and 3306.

    When I view the website on my computer at “https://testfour.dyndns.org” I can see the home page working ok, although all links when clicked still divert back to the local host.

    And when I try to view my site at “https://testfour.dyndns.org” on another computer on my network I can only see the website in list form and images are missing, all links also redirect back to the local site as well.

    I have checked my site address “https://testfour.dyndns.org” at https://www.opendns.com/support/cache/ and everything seems to look ok (all come back showing the same ip address 81.107.74.225).

    MySQL in Mamp Pro – the button for allow local access only has been unchecked.

    When you set up a new host in Mamp Pro using the dyndns.com address option shouldn’t Mamp re-define all the links so they are no longer local or do I need to change other settings somewhere to allow this to happen?

    How can I get the website to display correctly (Not in list format) when viewed externally?

    How can I get the images to link correctly when viewed externally?

    How can I get the page links to function correctly when viewed externally (not revert to local paths) ?

    Thanks if you can help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ewencameron1

    (@ewencameron1)

    ok I have now got this working and thought I would write the following for any other newbies having similar problems.

    I didn’t realise I needed to change the 2 url options in the general settings in WordPress – now I have set them both to the dynDNS host address I had set up.

    However I found the images would still not show and I realised that I would have to go into WordPress and change all the links from their local address to the new dynDNS address.

    I used this method first https://www.designshifts.com/how-to-move … hpmyadmin/

    There is also a WordPress plugin that might be a little easier to use https://www.ads-software.com/extend/plugins/search-and-replace/
    (Just be very careful when using either of these methods and back up your database before changing anything)

    I have learnt quite a bit over the last few days, but probably wouldn’t have bothered developing the sites locally if I had realised all the faff involved. I had stupidly thought that using WordPress, Mamp Pro and DynDNS together would dynamically change everything for me, (wasted half a day playing around with my network and router settings), but WordPress uses absolute paths by default and it is not recommended to use Relative paths.

    So when I eventually move the site to the live host I will have to go through the whole process again.

    I have a similar problem, may be the exact same thing, but anyway, I’ll try to explain my situation as best as possible.

    I am running WAMP on a Windows 7 [32bit] laptop, I have successfully installed WordPress and have everything running locally.

    My problem comes in when I try to view the wordpress site from another computer.

    I am on a router and I have changed the settings in the router to forward port 80 to the laptop and also forwarded port 21 for FTP as well. In my case, not giving any secure information away, the laptop is attached to the router as 192.168.1.105.
    I registered a free account with DynDns and used their free DNS Host service and selected my IP address to able to forward outside requests to the wordpress site.

    When the DynDns host service is activated, I can now see the wordpress site but it looks nothing like the local version, needs to be synced? I have not made any changes to the wordpress site, it is basically out of the box.
    The weird thing is that when I type in the address to the site it takes me to the WAMP dashboard then I can click on my site, but it still looks very basic, no images or formatting what so ever.

    I have tried changing the URL settings in the general setting in the wordpress dashboard, but then it gives me all sorts of other issues, such as URL not found or the dreaded 404 URL not found code.

    Any suggestions on my settings? Any help will do.

    Here is a screenshot of how the sites differ:

    Local:
    Screen shot 1

    and after the DynDns is active and viewing through a different computer:
    Screen shot 2

    Thank you in advance,

    NovacaineFix

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mamp Pro WordPress DynDNS = i'm stuck!’ is closed to new replies.