How do I avoid this domain forwarding issue with Godaddy where subdomains accumulate?

54 Views Asked by At

I have domain forwarding enabled since my site is hosted on Heroku.

I have one forward configured this way

example.com -> https://www.example.com

This puts in the www subdomain and has worked pretty well for several years. I'm setting up a staging server that I would like to access via

https://staging.example.com

I have pointed staging.example.com to the proper place at heroku, however when I enter

https://staging.example.com

it forwards to

https://www.staging.example.com

and there is a DNS unfound error.

Is there a way to accomplish this other than domain forwarding?

0

There are 0 best solutions below