Forum Moderators: bakedjake
I run a website with musltiple domains and multiple subdomains (wildcards).
Let's say I have following sites available:
sub1.domain1.com
sub2.domain1.com
..
sub1.domain2.com
sub2.domain2.com
..
etc..
QUESTION:
is it possible to set up a developement environment,
so I can access the remote pages like that:
sub1.domain1.dev
sub2.domain1.dev
..
sub1.domain2.dev
sub2.domain2.dev
..
etc..
?
The remote box is a linux with apache2 running on it.
I know I would need to add an entry the hosts file in the C:\WINDOWS\system32\drivers\etc
on my local machine (windows XP):
remote.ip.address *.domain1.dev
Would do the trick?
What about the remote box? I'm guessing I would need to add a new virtual host zone,
and call the serverName "*.domain1.dev" ? Correct?