473,406 Members | 2,710 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,406 software developers and data experts.

Subweb in ASP.Net?

I'm not realy sure if this is called a "subweb" or not, but here's what I
want to do:

I have a website, smccabe.net

The pages on this site are accessed by the form
http://smccabe.net/somepage.aspx

What I would like to do is create a page accessed with the form:

http://somepage.smccabe.net

How do you do this with ASP.Net?

Thanks!
---Selden
Nov 4 '06 #1
3 1448
Yes, that form of addressing is called a subweb and requires the use of host
headers. Its an IIS configuration.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP http://wikimapia.org/#y=43038073&x=-...8&z=17&l=0&m=h
"Selden" <se*****@msn.comwrote in message
news:_6******************@tornado.socal.rr.com...
I'm not realy sure if this is called a "subweb" or not, but here's what I
want to do:

I have a website, smccabe.net

The pages on this site are accessed by the form
http://smccabe.net/somepage.aspx

What I would like to do is create a page accessed with the form:

http://somepage.smccabe.net

How do you do this with ASP.Net?

Thanks!
---Selden


Nov 4 '06 #2
Selden,
Actually, it's not really a subweb. A "subweb" would be
http://smccabe.net/somepage/ in IIS terminology. Usually when IIS refers to
a subweb it is referring to a logical entity packed as a FrontPage subweb,
which is basically a directory that has been compartmentalized for use by
the FrontPage Server Extensions and FrontPage publishing.

What you are referring to is a subdomain. You would first have to setup
the DNS settings in order to handle the subdomain so it points somewhere.
It's possible that you could have the server automatically point the entry
so that it exists within your site, but at a directory different from the
root. In orther words http://somepage.smccabe.net would map to
http://smccabe.net/somepage/ In some scenarious this becomes unstable
because you would have subdirectories of your root web being seen by the
application possibly as the root level of the site.

Basically, this is a server setup that you wouldn't do in ASP.Net.
Has to be configured through DNS and IIS itself.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Selden" <se*****@msn.comwrote in message
news:_6******************@tornado.socal.rr.com...
I'm not realy sure if this is called a "subweb" or not, but here's what I
want to do:

I have a website, smccabe.net

The pages on this site are accessed by the form
http://smccabe.net/somepage.aspx

What I would like to do is create a page accessed with the form:

http://somepage.smccabe.net

How do you do this with ASP.Net?

Thanks!
---Selden


Nov 4 '06 #3
Thanks, you've cleared it up perfectly!

"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:u4*************@TK2MSFTNGP04.phx.gbl...
Selden,
Actually, it's not really a subweb. A "subweb" would be
http://smccabe.net/somepage/ in IIS terminology. Usually when IIS refers
to a subweb it is referring to a logical entity packed as a FrontPage
subweb, which is basically a directory that has been compartmentalized for
use by the FrontPage Server Extensions and FrontPage publishing.

What you are referring to is a subdomain. You would first have to setup
the DNS settings in order to handle the subdomain so it points somewhere.
It's possible that you could have the server automatically point the entry
so that it exists within your site, but at a directory different from the
root. In orther words http://somepage.smccabe.net would map to
http://smccabe.net/somepage/ In some scenarious this becomes unstable
because you would have subdirectories of your root web being seen by the
application possibly as the root level of the site.

Basically, this is a server setup that you wouldn't do in ASP.Net.
Has to be configured through DNS and IIS itself.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Selden" <se*****@msn.comwrote in message
news:_6******************@tornado.socal.rr.com...
>I'm not realy sure if this is called a "subweb" or not, but here's what I
want to do:

I have a website, smccabe.net

The pages on this site are accessed by the form
http://smccabe.net/somepage.aspx

What I would like to do is create a page accessed with the form:

http://somepage.smccabe.net

How do you do this with ASP.Net?

Thanks!
---Selden



Nov 5 '06 #4

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

Similar topics

9
by: Stuart | last post by:
Hi All, I got a challenge to make the same APS/Script/Html run on different web roots. I can not use relative pathing in a lot of cases. We use lots of included files so depending on where that...
2
by: Daveyman | last post by:
Hi, I'm having a problem navigating to/from a subweb using forms authentication. The setup in IIS is as follows: TestSite +----SecureDir +----ReportsSubWeb In VS.Net 2003 this has been...
2
by: Mark Olbert | last post by:
I have a subweb (marked as an application in IIS) that I do >>not<< want to utilize an httpHandler defined in the parent web. According to the documentation, I should be able to do this by...
0
by: Isabelle | last post by:
Hi I have posted this in the microsoft.public.frontpage newsgroups. Since it involves both Frontpage ext. 2002 on a windows 2000 Advanced's web server, and ASP.Net (framework 1.0), I decided to...
1
by: Pete Mahoney | last post by:
Our company has just started the move from ASP to ASP.Net. We have just finished our first .Net projects, and are now in the process of deploying them. We use FrontPage at our company to allow...
3
by: Nalaka | last post by:
Hi, I have an asp.net web application (www.myWebSite), and a subweb application (www.myWebSite/subSite). How do I set it so that, subweb application (www.myWebSite/subSite) be the root...
1
by: Curt Koppang | last post by:
I have a web site which we use to service many customers. The base part of the web site is the same for every customer. Then there are sub-webs for each customer that contain customer specific...
1
by: Ernest Morariu | last post by:
Hi All ! Is it possible to make a web and its subweb to share the same session? ernest
1
by: Ned Balzer | last post by:
Hi all, I have a problem that has me stumped. I developed an asp.net 2.0 application and it works fine. It is located in a subweb of a website, so for instance the main site is called...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.