LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux and networking nub need help for Slackware web server (https://www.linuxquestions.org/questions/linux-newbie-8/linux-and-networking-nub-need-help-for-slackware-web-server-4175484562/)

Licera 11-14-2013 08:13 AM

Linux and networking nub need help for Slackware web server
 
Hi all,

I recently started learning Python and would like to host my own website with my own domain name on my machine.

I installed Tornado and I can view my web app using localhost:8080.

Question:
How do I bind/map my domain name (example.com) to my machine such that it would show my web app being hosted on port 8080.

I have tried using no-ip DUC client on Linux and what it does it give a subdomain, xxx.no-ip.biz which when i navigate to, brings me to my current ip (im using DHCP) and shows me my web app.

Cheers, and thanks in advance :)

Licera

acid_kewpie 11-14-2013 09:12 AM

What's not working then? You says that it DOES show you your web app.... but maybe you a word or two?

You can NOT make "http://xxx.no-ip.biz" reach port 8080. That would be from accessing "http://xxx.no-ip.biz:8080". by default it will go for port 80, and what you'd usually do is use a standard web server, e.g apache, or dedicated reverse proxy, e.g. nginx, to connect the incoming request on port 80 up to 8080 inside the server.

Licera 11-16-2013 09:05 AM

Thanks Chris :)

Andre.Smit 11-16-2013 10:58 PM

I have a router (3G router) with that does virtual server and maps external ddns address:8082 to 192.168.1.100:80

I do not want to open port 80 on my router as it could be a security risk.

Regards
Andre


All times are GMT -5. The time now is 03:56 PM.