Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Tiago Simões
Staff
16
Views
2
Comments
An easy way to configure IIS home directory to redirect to a specific eSpace
Question
Sometimes you want people that go to
https://yourserver/
to be redirected to
https://yourserver/CustomEspace.
There are several ways to achieve this, here's a simple one:
On the server go to Control Panel>Administrative Tools>Internet Information Services
Right-click Web Sites>Default Web Site and choose Properties
On the Home Directory tab choose "A redirection to a URL"
Redirect to "/YourEspaceName"
Check "A directory bellow this one"
Check "A permanent redirection for this resource"
See the attached screenshot for an example.
iisHome.PNG
boudewijn lutgerink
Another way to achieve the same without having to set the IIS configuration can be done directly in a html page.
In the header put this code:
<META HTTP-EQUIV="REFRESH" CONTENT="1; URL=www.Yourserver.com/yoursubfolder>
So assuming you have an index.htm on the landing page of your site and you have a subfolder MyApp with there a page default.aspx you then set in the header
<META HTTP-EQUIV="REFRESH" CONTENT="1; URL=www.YourServer.com/MyApp/Default.aspx>
The setting after the CONTENT is the number of seconds it will take to get redirected.
Pedro Gonçalves
Staff
Hi guys,
The suggestion of the first post is for IIS6. Any idea how the configuration above can be done on IIS7? I tried to follow Microsoft's
HTTP Redirection in IIS7
instructions but it seems its use cases are not the same as this post's.
boudewijn
, thank you for your suggestion. It did the trick, although I'd prefer doing it in IIS fashion. Any idea how?
Regards,
Pedro
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...