I have a domain name, that points to the address of my VPS. And when I visit the website the URL changes to the IP address of the VPS I own. I would like it to keep the URL as the domain name. How do I configure this?

  • Is your VPS running Apache, or some other web server? – nathangiesbrecht Jul 24 '13 at 19:07
  • It is running Apache. – Hamzeh Alsalhi Jul 24 '13 at 22:41
<HTML> <HEAD><META HTTP-EQUIV=Refresh CONTENT="0; url=">  </HEAD> </HTML> 

You need to remove this.

Looks like you have done URL forwarding via domain panel.

  • I am forwarding by domain panel, whats the correct way to link my domian name to the content on my VPS? – Hamzeh Alsalhi Jul 24 '13 at 22:47
  • Point the nameservers at your domain registrar to those of your server. – zigojacko Jul 25 '13 at 7:26

Your site is performing a meta refresh to the content at the IP address. If you don't have hosting at the same place you registered your domain name then I assume you need to find out the correct nameservers to use and remove the meta refresh.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.