LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2016, 07:04 AM   #1
lq_win
Member
 
Registered: Jul 2015
Posts: 66

Rep: Reputation: Disabled
Question Using DNS to redirect to another URL with a path


Hello

How to set DNS to redirect to anohter url with a path?
for example:

meetingroom.mydomain.com 10.100.100.5 will be redirected to https://apps.mydomain.com/meetingroom

please help

thanks & regards
Win
 
Old 09-28-2016, 07:13 AM   #2
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
You can use your own HOSTS file.
But please make sure that only you are redirected as redirecting other people without their approval is immoral at least and can be illegal.

I certainly would be cross if I found my links to my bank being redirected.
 
Old 09-28-2016, 07:14 AM   #3
lq_win
Member
 
Registered: Jul 2015
Posts: 66

Original Poster
Rep: Reputation: Disabled
yes for sure.. I do this into my own server
can you give me an example?
 
Old 09-28-2016, 08:34 AM   #4
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
No.
If you do not undrstand it and how it works you definitely should not be changeing it - well I am not going to tell everyone reading this how to do it.
 
Old 09-28-2016, 09:04 AM   #5
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Not with a path. DNS returns IP addresses and server data. Mapping an IP address to an internal path is handled on the node level (with some kind of endpoint server)
 
Old 09-28-2016, 02:44 PM   #6
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
Google Apache redirect/rewrite rules.
 
1 members found this post helpful.
Old 09-29-2016, 09:02 AM   #7
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Eh, a flask or django dev server with a @route decorator would be enough to meet the requirement.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect with URL not showing the new redirects URL link Apache RHEL 6 gdizzle Linux - Newbie 4 12-03-2013 03:09 AM
Cannot Redirect URL to another URL when the link is down with Squid marx_long Linux - Newbie 1 06-13-2010 08:59 PM
Squid how to redirect url gubak Linux - Networking 3 03-04-2010 02:06 PM
redirect url munna_dude Linux - Software 2 02-15-2007 12:18 AM
url redirect Present Linux - Networking 4 01-26-2007 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration