473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Create subdomain

Hi,

I'm attempting to create a web application and I'd like to use
subdomains (my hosting provider allows this). However, I have a few
questions regarding subdomains and ASP.NET:

1. How do I create a subdomain on my local machine (e.g.
http://xxxxx.localhost/), if it's possible.
2. If I chose to use master pages in this application, would they
work as expected?
3. Does url mapping work with subdomains in ASP.NET?

Thanks,
Roshawn
Nov 8 '06 #1
3 1761
Hi,

1) you can do this with the Host Header information only on Windows 2000 or
2003, with XP it is not possible to run more then one IIS web site.

--
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz/
http://www.ajaxpro.info/


"Roshawn" <ud****@bellsouth.netschrieb im Newsbeitrag
news:e5****************@TK2MSFTNGP03.phx.gbl...
Hi,

I'm attempting to create a web application and I'd like to use subdomains
(my hosting provider allows this). However, I have a few questions
regarding subdomains and ASP.NET:

1. How do I create a subdomain on my local machine (e.g.
http://xxxxx.localhost/), if it's possible.
2. If I chose to use master pages in this application, would they
work as expected?
3. Does url mapping work with subdomains in ASP.NET?

Thanks,
Roshawn

Nov 8 '06 #2
Michael Schwarz wrote:
Hi,

1) you can do this with the Host Header information only on Windows 2000 or
2003, with XP it is not possible to run more then one IIS web site.

Thanks Michael for the tip. I was completely unaware of this issue.

But suppose I tried this to accomplish the same thing with the built-in
web server that comes with VWD Express. Would it work then?

Thanks,
Roshawn
Nov 8 '06 #3
No, with the internal one it is not possible, too. :(
--
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz/
http://www.ajaxpro.info/

"Roshawn" <ud****@bellsouth.netschrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP04.phx.gbl...
Michael Schwarz wrote:
>Hi,

1) you can do this with the Host Header information only on Windows 2000
or 2003, with XP it is not possible to run more then one IIS web site.

Thanks Michael for the tip. I was completely unaware of this issue.

But suppose I tried this to accomplish the same thing with the built-in
web server that comes with VWD Express. Would it work then?

Thanks,
Roshawn

Nov 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: vtxr1300 | last post by:
I have a web site that allows users to register. When they register, I'd like to create a subdomain that points to their profile page. Does anyone know how to do this in IIS through a c# asp.net...
1
by: thomas | last post by:
Hello all, It seems like subdomain forwarding prevents ASP.Net session state from working correctly. Example: two websites http://www.jgphotographers.com/test and...
0
by: anj.smart | last post by:
Hi:-I have my own webspace www.domain.com. When any new user register on to my site, a new url name www.subdomain.domain.com or www.domain.subdomain.com should be provided to it. I want to provide...
0
by: anjupt | last post by:
Hi, I have wriiten a vb script to create a subdomain and have called that vbscript in Asp.net program.The problem i am not getting the result as in the subdomain is not getting created and there...
0
by: Greg | last post by:
Is it possible for authentication using asp.net membership to persist from a site to a subdomain? The scenario I want to provide is: User browses to the page somesite.com and logs in. User...
12
by: Tina | last post by:
Our company domain, say, wombat.com needs to create several subdomains: support, training, and purchase are three of the subdomains needed. So when someone browses to //training.wombat.com they...
3
by: a2rodger | last post by:
I am using the following function and parse_url() to attempt to grab the subdomain from my sites url function selfURL() { $s = empty($_SERVER) ? '' : ($_SERVER == "on") ? "s" : ""; $protocol =...
0
by: devilsjunk | last post by:
Hello Everybody, In my web application I have created an interface where, if any user register then a subdomain will be created with the user name of the user link this manner E.G. :-...
1
by: Josh | last post by:
I have a question about subdomains. I would like my website to have subdomains that essentially show my regular main website, except that the subdomain passes as a variable on all pages so that I...
7
by: lmeyers | last post by:
I implemented a URL rewriter which worked reasonably well, but now I am creating other sites on the same server (single IP). Because IIS will not accept subdomain wildcards (*.subdomain.com), it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.