Solved

DNS Alias

Posted on 2007-03-20
2
2,231 Views
Last Modified: 2008-01-09
i have a application on a windows 2003 server that web based. so the url is something like
http://myserver:1234/xyz/f?p=110 (exzample). Now i need to create a (windows)DNS alias that would map to this site. I managed to create a alias for http://myserver but how can i add the rest of it. i mean the port number abd the dir etc ? Is there a way to do this or will users have to type in the port number themselfs.
0
Comment
Question by:R-JU6
2 Comments
 
LVL 33

Accepted Solution

by:
shalomc earned 125 total points
ID: 18765693
sorry to disappoint you, but a dns alias can only be used to redirect from one server name to another. No port redirection, no directory.
With a DNS alias (CNAME record) you can "redirect" from http://www.domai.com to http://domai.com.

You are looking for something else, called web site redirection.

Apache has a module that deals nicely with your problem, called mod_rewrite.

Since you probably use IIS, take a look at http://www.isapirewrite.com/

ShalomC
0
 

Author Comment

by:R-JU6
ID: 18766989
Thanks shalome. I throught that would be the case but was just checking if there was some way to do that. Thats anyway.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

770 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