Forum Moderators: open

Message Too Old, No Replies

Different Subdomain should have a dynamic page as a PATH

Is this possible?

         

DropZite

7:33 pm on Nov 17, 2008 (gmt 0)

10+ Year Member



I'm trying to make the subdomain work on the server i'm trying to fix..

Here's the scenario right now:

Windows Server 2003

sub1.domain.com
sub2.domain.com
sub3.domain.com
sub4.domain.com

All the sub domains has the same IP address record A ( 77.240.xx.xx ) not real IP

All sub domains are showing the same default page.. So if you access the sub domain in the browser like [sub1.domain.com...] it would show the same page as [sub3.domain.com...]

But if you access the IP address directly like this [77.240.xx.xx:82...] it would show each website properly..

I hope you're still with me.. What I want to achieve is to point the subdomains to each proper destination. How could I do it properly? I tried configuring and creating new site inside the IIS but I don't think it allows inputting URL like "http://77.240.xx.xx:82/localpages/website/display/show.asp?p=1" as PATH.

Is there something I'm missing here? What do I need to do?

SUB DOMAIN = PATH

sub1.domain.com = [77.240.xx.xx:82...]

sub2.domain.com = [77.240.xx.xx:82...]

sub3.domain.com = [77.240.xx.xx:82...]

sub4.domain.com = [77.240.xx.xx:82...]

I'm still learning here.. I'll really appreciate it if you could show me how to do it properly or point me to the right path. Thanks!

[edited by: eelixduppy at 7:51 pm (utc) on Nov. 17, 2008]
[edit reason] obfuscated ips [/edit]

mrMister

12:00 pm on Nov 24, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You will need to use some kind of programming language (eg with ASP or ASP.Net) to do what you want. You can't do it from within IIS I don't think.

ISAPI_Rewrite will also do what you want.