How to redirect website in a domain to BigCommerce website with same url

lama_h 0 Reputation points
2023-03-07T23:48:29.98+00:00

Hi legends!

I have two websites "au.abc.com" and "cn.abc.com" which are hosted in Azure VM and runs on a Nginx server. Both of the website are under "abc.com" domain. The domain is purchased from AWS. All the DNS records are setup in Azure DNS Zone. All the re-direction are configured on Nginx server which allows people accessing from Australia can only access au.abc.com website and rest of the world will access cn.abc.com website.

Now, I have created a store in BigCommerce and connected with the same domain abc.com. What I really want to do is decommission the au.abc.com website and deploy BigCommerce website instead, with the same URL "au.abc.com" and should be accessed only from Australia. I have tried re-directing through Nginx command line but failure to do so. I am confused where should I even add the NS of BigCommerce in my registrar as I have looked into registrar account, nothing has been setup.

Please help me out.

Thanks.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
775 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 49,536 Reputation points Microsoft Employee Moderator
    2023-03-08T05:07:47.89+00:00

    @lama_h @lama_h

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to use a custom domain "au.abc.com" for your BigCommerce.

    If you are planning to update the NameServers, you have to modify the configurations in BigCommerce(site) and AWS(registrar) , and not in Azure

    Please note that at no point, Azure will act as your registrar.

    Azure can only host DNS Zones that you purchase from a Registrar.

    You have to check with the service (BigCommerce) if they support hosting your domain in their service, and modify the records from there.

    However, you can use CNAME records in Azure DNS and point the requests to "au.abc.com" to <yourShopName>.mybigcommerce.com

    This doc may come handy : Create the CNAME record

    Please note that the above will lead to the requests directly going to your <yourShopName>.mybigcommerce.com and not via the NGINX server

    Kindly let us know if the above helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.