Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am able to access localhost on a Mac through Windows XP on VMWare Fusion by using my Mac username like this:

http://username.local:3000/

But how do I do that with a subdomain, something like this:

http://username.subdomain.local:3000/

Any ideas?

I am able to access subdomains on my Mac no problem, by adding things like blog.localhost to /etc/hosts. What is the equivalent on Windows?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Navigate to C:\windows\system32\drivers\etc where the 'hosts' file is located.

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.