Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 13th, 2007, 01: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.
Reply With Quote
  #2 (permalink)  
Old February 13th, 2007, 09: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I create sub domain? subir PHP How-To 1 February 6th, 2008 05: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 12:41 AM
http://domain or http://www.domain anshul HTML Code Clinic 9 August 11th, 2004 01:09 AM



All times are GMT -4. The time now is 05:10 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.