Mobile app version of vmapp.org
Login or Join
Gloria169

: Accessing subdomain redirects to main domain I have primary domain (https://example.com) and subdomain (http://subdomain.example.com). I have domain-level SSL certificate installed for primary domain

@Gloria169

Posted in: #Https #Iis #Subdomain #TopLevelDomains

I have primary domain (https://example.com) and subdomain (http://subdomain.example.com). I have domain-level SSL certificate installed for primary domain (TLD). And I want access my subdomain via HTTP not HTTPS (I don't want to buy another SSL for subdomain because it is for testing purpsoses). But accessing subdomain always redirects to TLD and address bar remains as sudomain.example.com but actually requesting main site example.com. So, even if I type subdomain.example.com I'm forcebly redirected to subdomain.example.com seeing content of example.com.
How to avoid this redirection and get my subdomain site work?

Tech. specs: IIS 8.5, ASP.NET MVC 5, hosting space (arvixe.com)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria169

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bethany197

It was configuration issue. The thing is I should create A-record in DNS settings of TLD. That A-record should map to shared hoster IP not to TLD IP and should contain subdomain part, for eg. subdomain A 198.58.80.160.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme