m_rd_n
m_rd_n

Reputation: 174

Can't properly forward GoDaddy domain to Heroku server via HTTPS

I have a problem with configuring Godaddy DNS and Heroku hosting server.

The goal is: when I type www.example.com or example.com as URL, it needs to go https://www.example.com.

Right now when I go www.example.com or example.com, it goes http://www.example.com

Configurations are:

On Heroku

On GoDaddy

P.S. If I manually go https://www.example.com the browser shows that it is secured

Edit: Update my nameservers and DNS settings to support this change is checked

Upvotes: 1

Views: 668

Answers (2)

Jordan
Jordan

Reputation: 413

Under GoDaddy doamin forwarding, make sure to check the box next to "Update my nameservers and DNS settings to support this change", then save.

If that is done. Confirm that your local dns cache has updated. Run these two commands, if the IP addresses returned are different, you may need to clear your cache or make sure that you haven't made manual changes to your host file.

nslookup example.com 8.8.8.8 ping example.com

Upvotes: 1

Ka_ren
Ka_ren

Reputation: 9

Are you using Apache? If so, the .htaccess file is the best way to change the default domain.

Upvotes: 0

Related Questions