Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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.

share|improve this answer
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
thanks, that worked – Hamzeh Alsalhi Jul 27 '13 at 17:13

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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