Amaranatha Reddy
Amaranatha Reddy

Reputation: 13

PHP Web Application Hosting - Issue with Static IP

All - I have designed a web application on CakePHP and hosting on a personal machine. I bought a static IP and through the static IP, we are able to access the site on the internet. Now, I bought a domain for my web application and forwarding the request from the domain to the static IP. When we type the domain name, it is taking us to the web application, but the problem is, whenever I hover the mouse on any link, I see the static IP in the status bar of the browser, instead of the domain name.

Please help me to get the problem resolved.

Appreciate your response on this.

Upvotes: 0

Views: 516

Answers (3)

user1122069
user1122069

Reputation: 1817

If you can find the DNS Manager (click launch on the domain manager page), you will see that the first heading is "A - Host", and under the column "Host" you will see an @ . Click the pencil to edit the "Points to" column for the @ and set this value to your ip address.

If you see an a record called www, then make this point to @ .

It should take about an hour to 24 hours to fix itself afterwards. You can use the ping tool as Mark suggested.

Upvotes: 0

Mark Mutti
Mark Mutti

Reputation: 86

icn is correct. Make sure you have an A Record on the domain for the IP address.

Assuming your domain is also with GoDaddy, this article clarifies how to add an A Record through their Domain Manager.

I would: 1. Ping the domain to see where it's pinging to. 2. Add your A Record 3. A few hours later (allowing for DNS propagation,) ping it again. It should now be pinging to your IP address.

Best wishes

Upvotes: 1

icn
icn

Reputation: 17876

You need to add a "A/AAAA Records"(not forwarding) to your DNS manager. Set domain name as your domain name and ip address as your ip address

Upvotes: 0

Related Questions