Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
add comment

2 Answers 2

<HTML> <HEAD><META HTTP-EQUIV=Refresh CONTENT="0; url=http://192.184.88.89/">  </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
add comment

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
add comment

Your Answer

 
discard

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.