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

How can I test a site that uses one or more static domains for serving images locally?


  • domain.tld with images servered from static.domain.tld
  • Local working copy of the site on WAMP checked out from SVN: URLs will be pointing at static.domain.tld rather than static.domain.local
share|improve this question

migrated from Apr 9 '10 at 11:46

This question came from our site for professional and enthusiast programmers.

Belongs on ServerFault. The basic idea is to use your hosts file to map all the domains to, then use name-based VirtualHosts ( to distinguish in Apache. – Matthew Flaschen Apr 9 '10 at 11:31
What is a static domain actually? – Dercsár Apr 9 '10 at 11:41
up vote 2 down vote accepted

I'm not exactly sure what you're asking, but you could always put entries in your hosts file if it's a question of resolving static.domain.tld, domain.tld, etc.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.