LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-09-2009, 12:58 PM   #1
phodopus
Member
 
Registered: Aug 2006
Location: Belgium
Distribution: Slackware 13.0
Posts: 62

Rep: Reputation: 15
Apache, portmapping and port 8080


Hello folks,

I just configured my webserver (apache, XAMPP) and used port mapping (I have a router). I use port 8080 (80 is blocked by my ISP).

I would like to register a free domain, and link it to my web server.

http://www.dot.tk/en/index.html?lang=en (I register www.xxxx.tk) has to be linked to http://xx.xx.x.xx:8080/

The problem is that I can't find a company (like the .TK company) that accepts other ports than 80. Adding *:8080 isn't possible...

Has anybody an idea how to fix this issue?

BTW: I'm using Slackware 12 on a Dell Vostro Laptop
 
Old 06-09-2009, 01:03 PM   #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
There's nothing to fix. domain names have *nothing* to do with port numbers**. Whilst they are written close together they relate to very different technologies. You can not make a dns entry magically redirect you to a port number, it's just not the way it works. You'd need to have a web server elsewhere on port 80 send an http redirect back to the client with the alternative hostname on it. Off hand, I've no knowledge of a free service which will do that, but I expect they do exist somewhere. There may also be some confusion around your use of the word "linked". This isn't a phrase used, so I've had to assumed you mean a redirect, but I could be wrong, maybe you want frames in your web site or something instead. Whichever though, DNS isn't relevant to this.

** Well to be honest you can do freaky things with TXT fields and such, but it's not something that's going to help you.

Last edited by acid_kewpie; 06-09-2009 at 01:04 PM.
 
Old 06-09-2009, 02:09 PM   #3
phodopus
Member
 
Registered: Aug 2006
Location: Belgium
Distribution: Slackware 13.0
Posts: 62

Original Poster
Rep: Reputation: 15
@Chris

Thanks for replying. I understand how webservers, ports, etc. work. Maybe my explanation was a bit confusing.

This is what I want to do:

Register a free domain name (for now) which refers to my webserver. Normally when you register @ http://www.dot.tk/en/index.html?lang=en , you enter your website and that's it.

Since I have to add *:8080 to my URL, this creates a problem. I guess their regular expressions don't allow that kind of strings.

Last edited by phodopus; 06-09-2009 at 02:11 PM.
 
Old 06-10-2009, 09:11 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
tcp port 80 is the IANA-specified port for http. So you're going to need to accept port 80 requests and redirect them yourself to 8080. (Or tell all your users to suffix the hostname with :8080.)
 
  


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
Changing port 80 to 81 or 8080 in Apache 2.2 kaltwasser Linux - Networking 4 08-12-2006 07:47 AM
port forwarding apache from 80 to 8080 chess Linux - General 11 09-27-2005 02:21 PM
Apache refuses connection on port 8080 apache363 Linux - Software 11 10-12-2004 05:56 PM
apache port 8080 issue ryback Linux - Software 6 01-01-2004 12:11 AM
alt apache port 8080 say 5amYan Linux - Software 4 12-08-2002 12:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:10 AM.

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