473,394 Members | 1,750 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,394 software developers and data experts.

Is it possible to set the "default web application" on a web server?

MS
I have an ASP.NET based site, and the main application is stored under a
virtual directory called "Main". So in order to view my site, a browser
would have to visit www.mydomain.com/Main/[default.aspx].

But if a browser just visits www.mydomain.com, he will NOT see my site
(since all the content is under the Main subdirectory). Currently, I use a
simple ASP redirect script in the root directory that will redirect the user
to the Main subdirectory. But such a redirect is generating a lot of bad
"Object Moved" errors in my log files and also interfering with search
engine bots that visit the site. Is there any ASP.NET setting under
web.config or somewhere else to make the browser automatically redirect to
my default web application without using a script-based redirect?

Thanks!
Nov 19 '05 #1
1 1268
You can configure the root folder for your Default Web Site from within IIS.
Try pointing it to your Main folder.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"MS" <tu**********@gmail.com> wrote in message
news:OM**************@tk2msftngp13.phx.gbl...
I have an ASP.NET based site, and the main application is stored under a
virtual directory called "Main". So in order to view my site, a browser
would have to visit www.mydomain.com/Main/[default.aspx].

But if a browser just visits www.mydomain.com, he will NOT see my site
(since all the content is under the Main subdirectory). Currently, I use a
simple ASP redirect script in the root directory that will redirect the
user to the Main subdirectory. But such a redirect is generating a lot of
bad "Object Moved" errors in my log files and also interfering with search
engine bots that visit the site. Is there any ASP.NET setting under
web.config or somewhere else to make the browser automatically redirect to
my default web application without using a script-based redirect?

Thanks!

Nov 19 '05 #2

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

Similar topics

1
by: Hari Om | last post by:
I am using Oracle 9.2.0.4 on IBM AIX 5.1 L System. Our DB Server had IP of "100.101.102.103" and our Tomcat Application Server (IP of 200.201.202.203) used to talk to above DB onn Port 1521. The...
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
1
by: vijay | last post by:
Hi I am working on a web application. I have huge form where in I have filled some part of the form and after two hours again I started filling the rest of the form but I got the following error ...
0
by: Andrew | last post by:
I got a request to host our .net project in oracle application server.i dont know much about the oracle application server.is it possible to do it with or without installing .net framework.Is there...
0
by: manyuaditya | last post by:
Hi, I'm new to programming in .Net so maybe this is a naive question. The situation: I am writing an application in C# .net which will be integrated into SQL server as an assembly and run...
0
by: LongpreC | last post by:
Urgent! Not sure where to post this but i need a reply urgently. Can anyone tell me if it is possible to have more than one Report service sharing the same home? I'm using application server...
0
by: imtired | last post by:
Hi all, Im trying to setup a DNS server at home for a possible business using Windows XP Pro and BIND9 Got most of it working now (ie able to bowse using the IP for the DNS server -yay) but when i...
1
by: Hari Om | last post by:
I am using Oracle 9.2.0.4 on IBM AIX 5.1 L System. Our DB Server had IP of "100.101.102.103" and our Tomcat Application Server (IP of 200.201.202.203) used to talk to above DB onn Port 1521. The...
2
by: Vijayakumar .Y | last post by:
Hello, My desktop application is developed using vb.net 2005 and uses crystal reports for .net 2005. I am now suffering complaints from the clients that when opening report in their machine, most...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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...

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.