This is a discussion on Howto redirect a host to a Windows web server within the Linux Web Servers forums, part of the Web Server and Related Forums category; I am using Apache2 on a Redhat Linux. Suppose my domain is "mydomain.com", and I have already ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am using Apache2 on a Redhat Linux.
Suppose my domain is "mydomain.com", and I have already configured my Apache2 for "www.mydomain.com" working. Now I want to create "www2.mydomain.com" and redirect it to a Windows IIS server (in the same LAN) for ASP support. How can I do that? I've tried using mod_rewrite but didn't work, probably I set it incorrectly. Thanks Barry |
|
|||
|
"Barry" <barry@snoopyhk.com> wrote in message
news:78d3e0c0.0401091722.1c3001d4@posting.google.c om... > I am using Apache2 on a Redhat Linux. > > Suppose my domain is "mydomain.com", and I have already configured my > Apache2 for "www.mydomain.com" working. Now I want to create > "www2.mydomain.com" and redirect it to a Windows IIS server (in the > same LAN) for ASP support. How can I do that? > > I've tried using mod_rewrite but didn't work, probably I set it > incorrectly. > Not sure why you want to do it this way - can you not do it by just pointing www2 at the relevant IP in the DNS? JJ |