Server Fault is a question and answer site for system and network administrators. 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 purchased a Go Daddy Windows 2003 server. The problem is I can't access my site via localhost but it can be accessed via a URL. What should I look for?

share|improve this question

closed as off-topic by masegaloeh, kasperd, joeqwerty, Nathan C, Hyppy Apr 17 '15 at 16:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

You can go to a command prompt and try to ping localhost. If that doesn't work, check \windows\system32\drivers\etc\hosts and look for an entry for (that's a tab space) localhost. If that isn't there, add it.

share|improve this answer

Localhost refers to running on your personal computer and webserver.

If godaddy has the computer, you will have to either log on to the server (through ssh, vpn, or something similar) and then you can use localhost. Or you could use the URL for it, as you have said that work.

share|improve this answer
i am using remote connection(vpn) and on my server i am trying to use localhost – Shishant Jun 29 '09 at 16:49

The web host we use also won't resolve localhost reliably. Wherever you currently use localhost in your configs just replace it with and all should be well.

share|improve this answer

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