• Hello

    After a tortuous couple of days I have set PHP, PHPMyAdmin, MySQL, MySQL Workbench and WordPress up on my Windows Server 2008 R2 system.

    Any assertion of the existence of a 5 minute install needs to be severely caveated with the warning that this only applies when installing on a commercial host which has done all the preparatory work.

    Anyway, I can access my WordPress installation from the server and using Windows Remote Desktop Connection from my laptop but I cannot access it from my desktop PC by pointing a browser at the server’s URL.

    When I do it finds the initial WordPress page but any attempt to navigate fails because all the subsequent URLs are localhost/something…

    If I point my PC’s browser at the server’s URL/PHPMyAdmin everything works because I think PHPMyAdmin is cleverer than WordPress and knows not to generate localhost addresses.

    Can anyone help me resolve this?

    Brian

Viewing 15 replies - 1 through 15 (of 36 total)
  • Any assertion of the existence of a 5 minute install needs to be severely caveated with the warning that this only applies when installing on a commercial host which has done all the preparatory work.

    Hmmm… I’m running about 5 sites on my local server and they each took no more than 3 minutes to install. The symptoms you describe above indicate that you either have a server problem or that you made a mistake when you installed WordPress. For example, what site url did you enter during the installation process?

    Thread Starter briesmith

    (@briesmith)

    I didn’t post for an argument and don’t see how making one takes me or this issue forward.

    Saying you can do all that is necessary in terms of finding, downloading, installing and configuring IIS, PHP, PHPMyAdmin, MySql and WordPress in 3 minutes is just silly. And as I say, doesn’t help anyone.

    I clearly have made a mistake otherwise WordPress would be working. It’s obviously something to do with URLs. What I would be really grateful for would be someone telling me what exactly I can do to fix it.

    It would be even more helpful if you answered the question asked above…

    Thread Starter briesmith

    (@briesmith)

    The external URL is 81.174.146.90 and the internal router allocated URL is Name: WINDOWS-JSQPOM8 192.168.1.64 details from router are:

    Connection Type: Ethernet
    IP Address: 192.168.1.64
    IP Address Allocation: DHCP
    IP Address Type: Private (NAT)
    Hardware Address: 00:1f:29:68:0b:1e
    Status: On
    Content Screening Group: No Restrictions
    Internet Access Control Schedules: No restrictions
    Allowed Applications Application Type Protocol Port Number(s) Public IP
    HTTPS Server – TCP 443
    81.174.146.90
    FTP Server FTP (file transfer protocol) server TCP 21
    81.174.146.90
    SMTP Server – TCP 25
    81.174.146.90
    Web Server – TCP 80
    81.174.146.90
    Remote Web Workplace – TCP 4125
    81.174.146.90
    TCP 443
    81.174.146.90
    XP Remote Assistance – TCP 3389
    81.174.146.90
    XP Remote Desktop – TCP 3389
    81.174.146.90
    Web Server 88 – TCP 88
    81.174.146.90
    Web Server 81 – TCP 81
    81.174.146.90

    Let’s try again – what site url did you enter during the installation process?

    Thread Starter briesmith

    (@briesmith)

    I assumed you meant the external URL 81.174.146.90 which is a static IP address provided by my ISP. It’s the only URL I’ve seen mentioned anywhere apart from localhost which from memory is 127.0.0.1.

    No. During a WordPress installation, you have to complete a form. One field on this form asks you for the url of the final WordPress site. What did you enter in this field?

    Thread Starter briesmith

    (@briesmith)

    Don’t know; I entered the URl into so many places so many times; is there something I can run that will tell me the value? I am physically sat at the server.

    Try checking the value for site_url in the wp_options table of your database.

    Thread Starter briesmith

    (@briesmith)

    Using PHPMyAdmin and looking at WordPress/wp_options I see

    siteurl http://localhost/wordpress yes

    Is that the only reference to a URL you need to know?

    Yes. Now what url are you using when you try to open your site in your web browser?

    Thread Starter briesmith

    (@briesmith)

    From outside I am using the external URL 81.174.146.90 in the format http://81.174.146.90/wordpress. This brings up an unformatted (no CSS) WordPress welcome page but if I try and navigate anywhere from there I get a localhost/something URL generated and the browser hangs.

    Thread Starter briesmith

    (@briesmith)

    I should possibly add that http://81.174.146.90/phpmyadmin works fine.

    If you wish to use http://81.174.146.90/wordpress then you have to use http://81.174.146.90/wordpress for both the site_url and home_url values.

    Thread Starter briesmith

    (@briesmith)

    OK; how/where do I set these?

Viewing 15 replies - 1 through 15 (of 36 total)

The topic ‘Can't Access WordPress via Browser’ is closed to new replies.