I'm using Azure for my website and I have 2 domain names that I would like to use for the same site.
For example, I want these 2 domains www.abc.com
and www.abc.asia
to be the same website (not redirected). Such that www.abc.com/contactus
and www.abc.asia/contactus
will be the same page.
Pointing two URLs to the same website is a good way to direct traffic to your site from several different domain names. You can accomplish this in two ways: either redirect one of the URLs to your primary domain, or create an alias for one of the URLs. The alias would point that domain towards your primary domain.
Yes, this is an extremely common practice. It is called a Shared Web Hosting: In name-based virtual hosting, also called shared IP hosting, the virtual hosts serve multiple hostnames on a single machine with a single IP address.
Yes, the setup is very much possible and is a common requirement. You can deploy multiple separate 'WebApps' under an 'App Service Plan'. All those WebApps (/websites) will have their own separate default domain (FQDN) and also you can set custom domain for each of those WebApps.
You absolutely can have multiple domain names, but you don't want them to resolve or be indexed by Google. To prevent that you set up a 301-redirect or “forward” the domain to the “real” domain.
Yes, this is possible (and easy to do). I did the following:
Both domain names now point to the same Azure web app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With