• Hi,

    I installed WordPress using the Bitnami WordPress Stack inside a Virtual Machine with localhost access.

    Installed the Astra theme as it is compatible with Elementor and designed the pages.

    All good so far.

    I then accessed the site with the VM server’s hostname and all the pages show but the pictures are grey.

    Searching Google it says that is because the under WordPress / Settings / WordPress Address (URL) and Site Address (URL) have to be changed from localhost.

    Problem is both are greyed out and only show :

    WordPress Address (URL) https://localhost:8080/wordpress
    Site Address (URL) https://localhost:8080/wordpress

    Google says that if greyed you need to change wp-config.php yet there is no localhost or example settings under WP_HOME or WP_SITEURL. It appears to be open to all connections.

    Google then says that a theme, in my case Astra may have locked the URL setting and to check under functions.php for the theme.

    Checked that and there is no mention of anything regarding these URL settings.

    So I’m stumped. What else could be stopping me changing these URL settings?

    TIA

    BSG

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    “localhost” cannot be accessed from outside your own computer. That’s just how it is. It’s a LOCAL HOST.

    Thread Starter brainsuperglue

    (@brainsuperglue)

    Yes, I appreciate that. The localhost URL doesn’t work outside of the VM because it’s localhost obviously.

    The issue is being able to change the WP URL php installation somewhere that will allow a browser on the same domain (but not on the VM) itself to be able to see the whole site.

    BSG

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Give the site a “real” domain URL and edit the hosts files of your local network to point to the IP.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stuck in Localhost, cannot open site to others.’ is closed to new replies.