• FaithInChrist

    (@faithinchrist)


    I have wordpress installed on Ubuntu and I can access wordpress via my browser (firefox) while on my server, but I cannot access wordpress from anywhere else. I see the browser connecting to “localhost” when trying to connect from other machine.

    My website works just fine from anywhere.

    I am betting this is just a variable or setting somewhere but I spent a good amount of time digging and searching and have come up empty handed.

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • esmi

    (@esmi)

    You can’t use a url that includes “localhost” and then reach it from another machine. Every machine believes that it is “localhost”.

    Thread Starter FaithInChrist

    (@faithinchrist)

    I understand this.

    I have a Domain name and a website that is public with it. I just cant figure out how to set wordpress to be public as well. I am sure there is just a setting or two out of whack, but I have played with it and have not made it work yet.

    Thread Starter FaithInChrist

    (@faithinchrist)

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    I have tried changinge local host here to my domain name but this does not help. It actually breaks it completely.

    Error establishing a database connection

    You definitely don’t want to change anything about your MySQL connection settings, as those are determined by where WordPress is located, not what machine is trying to access it.

    What is your website address, and where do you have WordPress installed in relation to your main website root?

    Thread Starter FaithInChrist

    (@faithinchrist)

    WordPress is installed under /var/www

    URL is

    http://www.myfaithinchrist.net

    Thread Starter FaithInChrist

    (@faithinchrist)

    Thread Starter FaithInChrist

    (@faithinchrist)

    Sorry…Wordpress is at /var/www/wordpress

    I tried to access your main page, and after waiting for a while, my browser said that the server wasn’t responding. I tried pinging your site, and the ping worked just fine with no packet loss.

    Is your website currently up?

    Thread Starter FaithInChrist

    (@faithinchrist)

    I did turn it off a while ago as I was having slowness issues from my house which is where i work from. First thing I always do is turn it off. It is back up now.

    It appears that everything (including WordPress) is working. I navigated to http://www.myfaithinchrist.net/wordpress, and I can see the default blog home page, with the default theme and “Hello World” post.

    Assuming that you are using the default theme and you haven’t added any more posts yet, it seems that everything is displaying as it should.

    Thread Starter FaithInChrist

    (@faithinchrist)

    Well…My apologies for wasting your time. I did not even attempt to test in IE from outside. I guess I made the assumption that since it worked in Firefox from the server itself that it should work in Firefox from outside. I just tested in IE from outside and it worked. Thanks so much!

    I have not changed anything really yet. Once step at a time. I was first trying to make it work on the Internet.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Making WordPress blog available on Internet’ is closed to new replies.