• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 504
  • Last Modified:

Redirect address to address in XP

Hello, I would need to redirect address to address in XP:

address.domain.tdl to address2.domain2.tdl

I tried hosts, but it doesn't work.
0
mrmut
Asked:
mrmut
1 Solution
 
Bruno PACIIT ConsultantCommented:
Hi,

The host file only permits you to associate an IP address to a DNS name, not a name to a name.
Anyway, if you know the IP address associated to the name "address2.domain2.tdl" you can then use your host file. Let's take an example:

Let's suppose address2.domain2.tdl is resolved as 10.1.2.3.
In your host file you can add the following line:
10.1.2.3 address.domain.tdl


The host file is useless if it's about going on Internet and you have a web proxy server to reach the Web... In this case, the IP resolution is made by the proxy server, not by your computer, and filling the host file won't help !

Have a good day.
0
 
mrmutAuthor Commented:
Thanks, the server address is dynamic, therefore I can't go with the IP.

Is there a way to do this other way round?
0
 
footechCommented:
Do you have a DNS server?  If so you can create a CNAME record for "address.domain.tdl" that points to "address2.domain2.tdl".
If you have a web server at "address.domain.tdl" you can configure it to redirect requests.
Otherwise there's really no other options that I know of.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now