Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Internal web site redirect

Posted on 2014-01-03
4
Medium Priority
?
332 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

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

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

722 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