LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-21-2013, 10:50 PM   #1
derekpock
Member
 
Registered: Apr 2012
Location: USA
Distribution: Elementary OS Luna
Posts: 83

Rep: Reputation: 4
Ubuntu Web Server (Apache2(LAMP)) Showing Direct IP as URL


I am running a Ubuntu Server 13.04. I use it as both a Webserver and a Minecraft Server. My cable company does not allow port 80, so I got a free re-direct from no-ip.com. It redirects to 24.255.213.250:50005 which is what apache2 is listening to. I have set the redirect name to dlzpserver.no-ip.info. If you click on that you will see what I mean, it changes the URL to 24.255.213.250:50005 instead of keeping it at dlzpserver.no-ip.info. Anybody have any ideas how to keep it on dlzpserver.no-ip.info as you are exploring the website?
 
Old 07-22-2013, 02:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You can't do that. the nice (ish!) name points to the noip servers, not to yours. they are not proxying all your traffic for you, just giving back an alternative URI. and you can NEVER get rid of the port number unless you have a reverse proxy goign on somwhere, which is a significantly bigger issue than a simple redirect service. All you can do is make the redirect service redirect to a nice name for the server itself, so dlzpserver.no-ip.info could send you to dlzpserver-origin.no-ip.info:50005 or something, but that's as good as it will get.
 
Old 07-25-2013, 11:37 AM   #3
derekpock
Member
 
Registered: Apr 2012
Location: USA
Distribution: Elementary OS Luna
Posts: 83

Original Poster
Rep: Reputation: 4
:/ Ok thanks I guess. So there is no setting on the server that I can change for that?
 
Old 07-25-2013, 04:29 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
No, that just doesn't make sense. I'd suggest some background reading on what you've actually got, and not got, to see why it's illogical.
 
Old 07-25-2013, 05:46 PM   #5
derekpock
Member
 
Registered: Apr 2012
Location: USA
Distribution: Elementary OS Luna
Posts: 83

Original Poster
Rep: Reputation: 4
Ok thanks.
 
  


Reply

Tags
apache2, port forwarding, redirect, url address, webserver



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
Apache2 Port 80 Problems on TKL LAMP Server Tango2 Linux - Software 15 02-23-2012 03:15 PM
[SOLVED] Ubuntu - Apache web server not restarting /etc/init.d/apache2 restart nonshatter Linux - Software 2 12-03-2011 09:33 AM
LXer: Installing Apache2 With PHP5 And MySQL Support On Ubuntu 11.04 (LAMP) LXer Syndicated Linux News 0 05-17-2011 06:20 AM
How do I Host a Direct Online??? Ubuntu Server LAMP Setup jsullivan44 Linux - Server 1 09-19-2009 05:06 PM
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:38 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