Rajdeep Singh.

80 Port Show at the end of Your Ghost domain name

In My New Blog Post, We Learn How To Remove:80 Port Error Inside Your Ghost Blog.

By ghost 2 min read

There are 3 steps

  1. Access your Ghost instance
  2. Basic Information About Ghost Config File
  3. Config Your config.production.json File.

Go the the google cloud platform and logging into exciting account.

Show:80 Port Error Inside Your Ghost CMS

Access your Ghost instance

Show:80 Port Error Inside Your Ghost Cms

Open Your Google Console Dashboard


Show:80 Port Error Inside Your Ghost Cms

Open your Google Console Dashboard Then Click Top Left Conner humber icon. Click Compute Engine, Select VM Instance, Then Your VM Instance Page Open.


Click SSH

After the Open instance page, click SSH button.


Terminal

After Open Your Instance Page. Then Click SSH Button and You can see new Window open in bottom side and you see your SSH terminal Successfully Open.


Basic Information About Ghost Config File

The ghost requires the domain name to be specified in the /opt/bitnami/apps/ghost/htdocs/config.production.json file.

Check Your config file. Simple use the cat command inside ssh terminal.

sudo cat /opt/bitnami/apps/ghost/htdocs/config.production.json

Output Cat Command

when you open config.production.json, your URL look like.

url: 'example.com:80'

Config Your config.production.json File

Config the domain name in ghost cms. open your config Config.production.json file in side your terminal, use nano editor.

If Like nano Editor so paste following command in terminal. Other Wish You can use any other editor Like Vim

sudo nano /opt/bitnami/apps/ghost/htdocs/config.production.json
sudo Vim /opt/bitnami/apps/ghost/htdocs/config.production.json


Remove 80 Port In Your Domain

Remove only :80 inside your domain Url field.


Remove 80 after Save Your File

Remove :80 port save your file with keyboard shortcut

After You File Save And Restart Your Ghost

sudo /opt/bitnami/ctlscript.sh restart ghost

:80 Port Error Successfully Remove In Your Ghost

After You success full remove 80 port error in your Ghost cms and your cms look like.


References

Read More About 80 Port Error On Bitnami Community.

https://community.bitnami.com/t/80-in-end-of-domain-name/68342