473,606 Members | 2,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirect url website

Hi,

I wanted to redirect all requests to my website to a maintenance page for a
duration of 3 hours. It is any requests coming to www.abc.com or
www.abc.com/index.aspx or www.abc.com/book/index.aspx........ or any requests
for directories / subdomains / pages under www.abc.com to be redirected to
outage.aspx. This outage.aspx is in teh local computer. How do i specify
wildcards? How do i configure the settings in IIS6.0. Pls let me know.

Thanks in advance
Priya
Nov 13 '08 #1
2 1981
i don't know if it would work, but you may try placing a server.transfer to
the new url in the global.asax / Session_OnStart .
if this idea doesn't work, and you use msterpages, you can place it there
too.. might work...
In IIS, if you have a router, you must enable the port 80 and redirect it to
the server machine.
Enable the IIS there, and set the firewall up to accept incoming requests.


"Priya" <Pr***@discussi ons.microsoft.c omescreveu na mensagem
news:87******** *************** ***********@mic rosoft.com...
Hi,

I wanted to redirect all requests to my website to a maintenance page for
a
duration of 3 hours. It is any requests coming to www.abc.com or
www.abc.com/index.aspx or www.abc.com/book/index.aspx........ or any
requests
for directories / subdomains / pages under www.abc.com to be redirected to
outage.aspx. This outage.aspx is in teh local computer. How do i specify
wildcards? How do i configure the settings in IIS6.0. Pls let me know.

Thanks in advance
Priya

Nov 13 '08 #2

Checkou app_offline.htm option, You might want to use that instead of
outage.aspx
Plus it will work on any hoster. Not many of them will let you configure IIS
:)
http://weblogs.asp.net/eporter/archi...05/426708.aspx

George.

"Priya" <Pr***@discussi ons.microsoft.c omwrote in message
news:87******** *************** ***********@mic rosoft.com...
Hi,

I wanted to redirect all requests to my website to a maintenance page for
a
duration of 3 hours. It is any requests coming to www.abc.com or
www.abc.com/index.aspx or www.abc.com/book/index.aspx........ or any
requests
for directories / subdomains / pages under www.abc.com to be redirected to
outage.aspx. This outage.aspx is in teh local computer. How do i specify
wildcards? How do i configure the settings in IIS6.0. Pls let me know.

Thanks in advance
Priya
Nov 13 '08 #3

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

Similar topics

5
2614
by: Dan Nash | last post by:
Hi Subject line doesn't make sense I know. Basically we have a number of people on our system. They can sign up automatically and create their page. What I want to be able to do is give them their own url (eg. www.mydomain.com/theirsite). Because they can sign up without our interference, I need some way of creating a directory, with an index page that goes to their site, or some
3
5355
by: Mr B | last post by:
Howdy all, I have 2 domain names that both go to the same website. For example, if www.XXXX.com is the primary name for the website, if you type in www.XXXX.com or www.YYYY.com, they both go www.XXXX.com for the same website jsut via different names. What I want to do is take one of those, and redirect them to a sub folder. So if someone goes to www.XXXX.com they just go to the normal Index page. But if someone goes to www.YYYY.com,...
8
4877
by: Victor | last post by:
I need to redirect to another web page, but that redirect will include the submission of form data. So, unlike ServerXMLHTTP which stays on the originating web page, I need the script to redirect to the page that I'm submitting the POST data to (without pressing a submit button). Any suggestions? Thanks, Victor
9
2854
by: jonathanthio | last post by:
Say if the visitors come from German I'd redirect them to German website, if vistors from USA, I'd redirect them to USA websites. Is there a way to do this with javascript?
1
1424
by: A.M | last post by:
Hi, I am trying to use Response.Redirect to redirect the response to another website (say http://www.yahoo.com) but asp.net redirects the request to http://localhost/www.yahoo.com Which is wrong. I need to redirect the client browser to diffrent website.
5
2953
by: sck10 | last post by:
Hello, Using ASP.NET 2.0 I have two websites: www.OldSite/Old01/ www.NewSite/New01/ I need to redirect everything in the folder "Old01" to "New01". The folder "Old01" has 15+ web pages in it. Is possible to do the following: redirect
5
4556
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks a session variable, and if it is not present, does a Response.Redirect to a webpage for the CAS passing a url parameter for the url to post back to. The CAS provides a page for the user to log into, validates the username and password, and then...
3
2264
by: glezaber | last post by:
Hi, I´ve two websites stored in IIS 5.0, and what I want is to Redirect from A website to B website, the problem is that doesn´t work because if I use Response.Redirect (http://localhost:5080) where is the A website from the B, it only works in the same machine, because if you try doing it from another one it takes de localhost directly without asking for the correct parsing. I tryed too doing it with the Server.Transfer, but that doesn´t...
56
7203
by: UKuser | last post by:
Hi, I'm not sure if this can be done as I've searched the web and this forum. I am using an online merchant provider and I must post certain variables to their webforms through a form on my website. The issue is that I need to gauge whether a user has any items in their basket to decide which page I redirect them too. I could
4
2197
by: mbatestblrock | last post by:
I was not sure whether or not to post this here, or in the Misc. forum. Here is my situation: We have a website that needs to running on IIS. We are running server 2003, and IIS 6, of course. We need to put up a wordpress blog on the site as well. So I just created a directory where the website is stored on the machine, got php installed as ISAPI, at first, then throough all the problems, tried it as CGI, and Fast CGI. And still had...
0
8433
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8084
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8300
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6761
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5461
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3969
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2443
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1550
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.