Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 13th, 2007, 02:31 AM
Authorized User
 
Join Date: Nov 2005
Location: mumbai, maharashtra, India.
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same pages for sub domain from main domain

Hello everyone,

How can I show same page for sub domain from main domain.

For e.g.
http://www.sitename.com shows me default page of finance..
I want to
http://finance.sitename.com
should also show the same finance page...
similarly
http://it.sitename.com will show me the IT page from the site
all this page are generated on the basis of ID passed from URL..

I have created sub domains for each section like
for finance,it,operations etc...
if i try http://www.sitename.com/finance the page is displayed
but if try http://finance.sitename.com it gives me error

I want same default page to come in sub domain as user goes to main domain.

How this is possible?

Best Regards,
Vivek.
__________________
Best Regards,
Vivek.
  #2 (permalink)  
Old February 13th, 2007, 10:15 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Check this out:
http://www.webmasterworld.com/forum25/3575.htm







================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I create sub domain? subir PHP How-To 1 February 6th, 2008 06:37 AM
Creating a Domain seananderson Windows Server 4 September 13th, 2007 02:14 PM
Access Pages From Sub Domain.. vivek_inos ASP.NET 1.0 and 1.1 Professional 0 December 1st, 2006 01:41 AM
http://domain or http://www.domain anshul HTML Code Clinic 9 August 11th, 2004 01:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.