skip to Main Content

I have build a website with node.js + react and deployed it to a CentOs server. I have used nginx for reverse proxy and now the website is working fine and is it accessible at his IP address. i have also added in nginx.conf:

server_name www.mydomain.fr

For the domain i have bought one from GoDaddy. In the DNS management i’ve added the IP address of the website as an A record but i can not achieve that the website will work with my domain. I have also added in godaddy panel the nameservers of my webhosting provider.
Since is my first deploy i have no much experience with deploying apps any advice would be helpful.

Thanks

2

Answers


  1. Chosen as BEST ANSWER

    I solved this issue by restoring godaddy's names servers but this did not fixed the problem. They had some issues on their end that's why it did not worked in the first place.


  2. Since you have changed name server, A name that you have set on GoDaddy willl not work because your website hosting provider is managing your dns not the godaddy.

    Do one thing

    since you have changed the name server you have 2 options.

    1. restore name server to godaddy’s name server . ( there must be option on ui )

    2. login to your new name server provider and they must be having a dns management portal .
      set a name record there pointing to your ip address.

    After this , it should work just fine.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search