: 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
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)
More posts by @Gloria169
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.