We are trying to host our website in our office. We have a very fast server with a public IP and an opensource cPanel installed. Our domain name is registered with a different provider and I couldn't redirect it to our public IP so I basically did create an account with inmotionhosting.com. I used their nameservers, the domain goes there and then added an A record for the public IP in inmotionhosting to redirect the domain name to the public IP assigned to the server we have.
It works fine, but I am sure it's not a good practice since there are too many redirections involved. Can anyone please suggest a better way to do achieve this?
By end of the day, we want our domain name to redirect to the public IP which is assigned to the server.
Looking forward to answers.