I was given two domains:
domain.info (they are on GoDaddy).
And I was also given two servers,
188.8.131.52 - Rails app and
184.108.40.206 - Wordpress platform, on Digital Ocean.
At first, I was instructed to associate domain.com with the
220.127.116.11 (Rails app). Then I was instructed to de-associate this IP with
domain.com and associated the
18.104.22.168 with the domain name
Then I was instructed to associated
domain.info with the
22.214.171.124 (Rails app).
Right now, when I go to
domain.com the WordPress platform (
126.96.36.199) loads fine and that is what is expected. But when I go to
domain.info for the Rails app (
188.8.131.52) I get redirected to
domain.com. This is not expected and this is really weird for me.
When I ping
domain.info I get this:
PING domain.info (184.108.40.206): 56 data bytes 64 bytes from 220.127.116.11: icmp_seq=0 ttl=50 time=74.601 ms
Which is the expected result showing the correct IP but I don't understand why I get redirected to
domain.com...(which when I ping is:)
domain 64 bytes from 18.104.22.168: icmp_seq=0 ttl=50 time=75.057 ms
The PTR Records on Digital Ocean are as follows:
IP Address PTR Record 22.214.171.124 domain.info. 126.96.36.199 domain.com.
and the DNS configurations on Digital Ocean are:
A: @ 188.8.131.52
CNAME: * @
A: @ 184.108.40.206
CNAME: * @
I am not sure what the issue is, if you have any clue please let me know, I will be really grateful. If you need any other info let me know.