Window.location Picks IP Address And Not The Domain Name
I've my ruby on rails website registered as a subdomain under godaddy.com It works fine. But when I try to get the window.location.host, It returns the IP address of my server and
Solution 1:
This is because the domain might be set in domain forwarding mode. The domain needs to actually point to the IP which is different than domain forwarding.
Post a Comment for "Window.location Picks IP Address And Not The Domain Name"