: Can I set www.something.com to be my AName record I was just hoping someone could point me in the right direction. I want to have my website hosted which I want to display as www.mydomain.com
I was just hoping someone could point me in the right direction. I want to have my website hosted which I want to display as mydomain.com I also need mydomain.com and blog.mydomain.com to go to the same IP.
Do I need to create:
1 x AName record for mydomain.com which points at my server static URL
Then create 2 x CName records which both point at mydomain.com
?
Because if thats the way it's done then I want to set a redirect up on my IIS server to 301 to mydomain.com if it sees the URL as mydomain.com.
Does this sound okay?
More posts by @Lengel546
2 Comments
Sorted by latest first Latest Oldest Best
You should set three A records poiting to your server IP.
*.mydomains.com mydomain.com blog.mydomain.com
Then you need to set up your Virtual Host correctly to accept requests for all three domains/subdomains (see e.g. Virtual hosting with IIS (Internet Information Services) or Setting Host Headers in IIS 6.0).
Redirect needed domains to one desired domain using URL Rewrite module and 301 redirect (e.g. both www and blog to mydomain.com) so you don't have "duplicate" content.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.