Newly installed Bitnami Ghost blog keeps redirecting to the LocalHost

Experiencing issues with Bitnami Ghost redirecting to localhost can be frustrating, especially when you’re trying to access your website. This problem can occur due to various reasons, including misconfigurations, incorrect settings, or issues with your web server setup.

However, if you have just created a Ghost blog using Bitnami then this problem is because you may have not configured your full domain URL.

In this guide, we show the quick method to integrate the Domain in the Bitnami, so that it could be accessible for the Ghost blog.

Note: this method is for those who have just created the ghost blog and are not able to access it.

Step 1: Login to Server

Where you have installed Bitnami to create Ghost Blog, first log in to that server using SSH or any other medium you have. After accessing the command line move to the next step.

Step 2: Add your domain to Bitnami

Next, use the given command along with the domain you want to use to access the Ghost blog, however, make sure the domain is already pointed to Bitnami’s server IP address.

sudo /opt/bitnami/configure_app_domain --domain

Replace the “” in the above command with the actual domain you want to use to access Ghost blog.

Step 3: Restart Ghost and Apache

After making the changes, restart the Ghost and Apache servers to apply the changes we have just committed.

sudo /opt/bitnami/ restart ghost
sudo /opt/bitnami/ restart apache

Step 4: Access the Ghost with Domain

Finally, in your browser, open the incognito tab and use your domain address, this time you will be able to access the website without redirecting to the Localhost.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.