dns - Setting up domain names locally for testing? -


i using 1 hosting account several domains parked on along main domain name. need able show different content based on domain being accessed. so, question is, how can test locally?

  • i have vista
  • i use xampp

any appreciated?

you can define multiple domains in hosts file.

you can find c:\windows\system32\drivers\etc

there examples written there understand, how works. create page lets index.php , parse domain there , redirect relevant domain.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -