Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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 127.0.0.1 (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 127.0.0.1 and all should be well.

share|improve this answer

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.