Solved

Internal web site redirect

Posted on 2014-01-03
4
315 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
ID: 39753610
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
ID: 39753631
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
ID: 39753642
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
ID: 39764670
Was able to find an easy fix for my own question
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

838 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