Solved

Internal web site redirect

Posted on 2014-01-03
4
309 Views
Last Modified: 2014-01-08
I have an internal website running and would like an easy way for my users to be able to access the site rather than having to put the server name etc... currently its http://company-tools/website.

I would like to maybe create a dns entry that will allow then to go to maybe company.com and it redirect internally to that internal address that i have. Is that possible?
0
Comment
Question by:eli290
  • 2
4 Comments
 
LVL 6

Expert Comment

by:ButlerTechnology
Comment Utility
I don't think that a DNS entry is possible.  DNS works on the fqdn of the address not the file path.  You should be able to put a simple redirect to the directory.  What web server are you using?
0
 
LVL 25

Expert Comment

by:Zephyr ICT
Comment Utility
If it's IIS you could use the redirect tool or adjust the web.config file and add the redirect there, this can look something like this (IIS7):

<system.webServer>
    <rewrite>
        <rules>
            <rule name="Root Hit Redirect" stopProcessing="true">
                <match url="^$" />
                <action type="Redirect" url="/website" />
            </rule>
        </rules>
    </rewrite>
</system.webServer>

Open in new window


Replace "redirect" with rewrite if needed.

The redirect tool way:

1- Select your site and click HTTP Redirect in the IIS section (You might need to install this tool first http://www.microsoft.com/en-us/download/details.aspx?id=7435)
2- Select "Redirect requests to this destination"
3- Write down the directory you want to redirect to. In your case "http://company-tools/website"
4- In the next step, Redirect Behavior you might have to select "Only redirect requests to content in this directory (not subdirectories)", or it might not work, experiment with it ...
0
 

Accepted Solution

by:
eli290 earned 0 total points
Comment Utility
What I ended up doing was simply shortened the address to the root. The way I did this was within

IIS manager,

right click on default web site --> Manage Website --> Advanced Settings --> Then I just changed the physical path to the directory that I needed. Worked like a charm
0
 

Author Closing Comment

by:eli290
Comment Utility
Was able to find an easy fix for my own question
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now