Mask or Alias a browser link directed to a local lan (home) address

I need instruction for masking, or creating an alias on my DNS, for a local home address link. I don't want the actual address (IE: http://127.0.0.1:8081/helpdesk/) to be used by users within the network. I would just like them to use the following address: http://helpdesk, or some acceptable variation, and have it map to the actual address.
primeradminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dhoffman_98Commented:
You can't do that from DNS.

A URL contains four parts:
Protocol (http://)
Host: 127.0.0.1
Port: 8081
Path: /helpdesk

DNS can only convert host names to IP Addresses.

So you CAN create a DNS entry for "helpdesk" that will resolve to 127.0.0.1, but you can't specify a protocol, port, or path in DNS.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dhoffman_98Commented:
That being said...

Depending on what kind of web server you are using, you can use redirection on the server. The server may be able to evaluate host headers... the data that comes from a web browser with information about the incoming request.

Part of the host header information is the URL that was typed. So if your client types "http://helpdesk" then when it gets to the server, the server could possibly redirect that request to http://127.0.0.1:8081/helpdesk.
0
Dave BaldwinFixer of ProblemsCommented:
In addition, using Host: 127.0.0.1 on the client computer will make their browser try to connect to Their computer, not your server.  Host: 127.0.0.1 is always by definition a Local Only address.  For your clients, you need to have it map to the IP address of the server.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

dhoffman_98Commented:
I was assuming that he changed the address for the post, but yes, the address should be the address of the server, not the loopback.
0
David Johnson, CD, MVPOwnerCommented:
This is a multipart question that requires a multipart answer.

127.0.0.1 is the local machine(s) address which is not how it would be accessed by other machines. Unless you really want to run the helpdesk software on each and every computer, probably not what you want.

also running on port 8081 is probably not what you really want but it is a convenient way of installing the software in a non-conflicting way.

within IIS what you need to do is: change the bindings of the helpdesk website so that the bindings reflect the ip address and sitenameBindings and use port 80

now in dns you can create a a record that is helpdesk that points to the webserver address
now you can do just a http:\\helpdesk   from any machine in your lan
0
dhoffman_98Commented:
Wow, that's a terrible idea.

There are reasons that different ports are used on web servers.

One reason is to make it obscure so that not just anybody can hit the default port... but that's most likely not the case here.

Another reason though is to avoid conflicts with other existing web server software.
If there is a different listener on the server because of alternate software being used, then of course a different port is needed.

Just because a machine might have IIS running on port 80 doesn't mean it can't also have tomcat, or apache, or any number of other web servers also running on the same system, but bound to a different listener port.

There is obviously a reason that port 8081 was selected. Changing the settings on the server may end up causing conflicts with other applications.
0
David Johnson, CD, MVPOwnerCommented:
by changing the bindings so that 1 of the 3 items is unique is all that is required.

name, ip address , port

so if he adds the name helpdesk iis will check for a name that matches helpdesk and that will be the site that is delivered.  I have multiple sites using different names in the bindings all on port 80
0
dhoffman_98Commented:
What if he is not using IIS?

What if his application uses tomcat, or apache, or some other server?
0
skullnobrainsCommented:
http://helpdesk:8081 is feasible

- map "helpdesk." in the DNS to the ip of the server hosting the helpdesk. make sure that your clients allow resolution of a single word without a suffix. if they do not, also add mappings for helpdesk.suffix (the suffix should be your internal domain name)
- make sure the default page on that server somehow is helpdesk. if the server hosts other things, use a vhost or some kind of rule that redirect clients that arrive with helpdesk in the HOST header to the helpdesk page. the way to do it would depend on the server and what else it hosts.

if you can get the server to listen on port 80 or if it already does, you should be able to also get rid of the :8081 part
0
David Johnson, CD, MVPOwnerCommented:
if he is using apache or others then he simply edits the applicable configuration file
0
dhoffman_98Commented:
The question is simply how to configure DNS to direct to a full URL.
The answer is simply... you can't.

I have already provided details about why, and suggested to use HOST headers, the same solution that has only been repeated again, twice, because people aren't reading previous responses, and only adding to the confusion.
0
primeradminAuthor Commented:
I've requested that this question be deleted for the following reason:

No answers solved issue
0
dhoffman_98Commented:
The reason no answers solved the issue is because the issue can not be solved. The asker is looking to do something that simply can not be done. That information was provided and thoroughly discussed.

Other suggestions were provided that would help resolve the issue, but that seems to have not been good enough for the asker.

This question has been open long enough, and with the amount of effort that experts have provided, it is unreasonable to claim that no help or guidance was provided.
0
skullnobrainsCommented:
agreed

the original question (ie redirection to a full URL) is something that is not feasible (ID: 39574544)

additionally, as discussed, using a vhost solves the problem of redirecting to a specific path (ie .../helpdesk) (ID: 39582249)

... and possibly solves the problem of the alternate port as well, because an alternate port might not be required at all. a proxypass on the server that listens on port 80 would also solve that issue

this is more than enough to stand for an answer.

if the author cares to interact with his own thread, we'll gladly provide detailed explanations
0
primeradminAuthor Commented:
Listen you supposed experts, just because someone offered a "plausible" answer does not mean it served as a solution. I ask questions, ask for help and offer points for SOLUTIONS that solve a problem. None of the answers offered help solve my problem therefore I recommend no points. On a cloudy day the sun still shines yet we can't see it, so just because someone confirms that, yes, it is up there, doesn't solve the problem of clouds still being in the way. If Exchange decides to award points then I could care less, no sweat off my a** but I won't bless the decision.
0
dhoffman_98Commented:
I think you are missing the point.

You asked a question that did not have a solution.

You are trying to do something that can not be done the way you asked. THAT was the answer, and it was correct.

Now when other people come here to search for similar solutions, they will see the results of this question, and will learn from it. It's not only about points... That's the point of this site... to share knowledge.

You asked the experts for their input, and the input you received was valid. Trying to delete the question because you aren't happy with the answer you received is a cop-out and very disrespectful to the experts that spent time working with you to resolve your issue.
0
dhoffman_98Commented:
I would suggest option 2, selecting answers as a valid solution, in particular the following answers that seemed to most directly provide guidance toward an alternative that would resolve the issue:

http://www.experts-exchange.com/Networking/Protocols/DNS/Q_28267750.html#a39574544
http://www.experts-exchange.com/Networking/Protocols/DNS/Q_28267750.html#a39574555
http://www.experts-exchange.com/Networking/Protocols/DNS/Q_28267750.html#a39582249

Or in your shorter format:
http:/#a39574544
http:/#a39574555
http:/#a39582249
0
primeradminAuthor Commented:
Thanks netminder for basically restating my comments to your own satisfaction. Your are truly a "genius" in your own mind. Please, do not waste my time or hold up my ability to use this service as a result of this, in my mind, closed question any longer. I pay for my services here and I expect to be able to use it without henderance whether it's due to ridiculously cumbersome policies or frustrated "experts" jockying for some points. When my questions are answered to my satisfaction I award points, when not, I do not, period. When EE starts offering the services I use here for free then I will be more flexible/tolerant of policies, process and less-than-sufficient expert answers. Till then, my expectations are outcome-based as is proper in a free market system.
0
dhoffman_98Commented:
In a free market system you are encouraged to shop around.
When you find a better resource (hint... you won't), I encourage you to use it instead of Experts Exchange, and then we will have one less whiner on here who is going to cry over points.

Look at it another way. If you hire someone to work for you, you are going to pay them. Sometimes they will exceed your expectations and sometimes they won't. And you are going to pay them either way.

Points here really mean nothing to me. Have I gotten a free t-shirt... yes. It's a t-shirt. Do you want it? I didn't think so. The bigger issue here is that I, as well as a few others spent our time providing you with alternatives that would work because what you asked for can NOT be done. And for us spending that time holding your hand, you want to just turn us away without as much as a "Thanks for the help and advice." and instead you want to cheat the system by taking the answer and trying to mark it as invalid.

So... if you want to use this service, you damn well better show some respect to the people out here who are trying to HELP YOU, and stop whining like a kid in a sandbox who doesn't get their way.

Now, let me know if you want my t-shirt.
0
primeradminAuthor Commented:
I've requested that this question be deleted for the following reason:

Again, delete this frigging question or shove it, I don't care. No one was capable of answering MY question. They did theorectically answer they question as they REPHRASED it BUT did not answer my question. No points and delete.
0
David Johnson, CD, MVPOwnerCommented:
a browser defaults to port 80 and if you want to use 8081 then you MUST add the port http:\\helpdesk:8081

Creating the A record in dns is very easy just for the name use helpdesk and ip address to be the network address of the web server.  

Another way is in the router to take all input on port 80 and map it to the web-server on port 8081Example router setting.  Not all routers offer this capability.  You can block using the firewall from port 80 from the WAN (if desired) [on the webserver that hosts the helpdesk]
0
primeradminAuthor Commented:
I've requested that this question be deleted for the following reason:

Same as previouse deletion request. 'Round and 'round we go...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.