I am trying to setup a custom domain with Heroku.
Here is the setup I did for my wikinames.org domain in my GoDaddy account:
- DNS zone:
- @ A 18.104.22.168
- www CNAME myappid.herokuapp.com
- Forwarding (for naked domain support):
Once I go to http://www.wikinames.org, I observe the following:
- request remote address: 22.214.171.124:80, status Code: 301 Moved Permanently
- response header: Location: https://wikinames-org.herokuapp.com/index.php?title=Main_Page (I've installed MediaWiki, but
$wgServerthere is equal to
Why does it redirect me to wikinames-org.herokuapp.com?
Upd2. Looks like enabling of masking could help me, but seems it will work only with