LinuxQuestions.org
Visit Jeremy's Blog.
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 11-01-2015, 06:35 AM   #1
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Rep: Reputation: 15
BTHomeHub 5 ports & One page website


I have for some years a one page website that I built and host myself working from a laptop as server using Nginx. I have now got the supper fast broadband and using a BTHomeHub 5 which is very different to what I had and one thing is ports closed but after a lot of trial an error I have got the port thing sorted and can see Welcome to Nginx in local-host. As I have said BTHH 5 is different to other versions and so is the version of Nginx I am now using. With the last version I could use this ( gksudo gedit /var/www/nginx-default/index.html )to place details of my site on the page where Welcome to Nginx was. After installing the new Nginx version the path is now ( usr/share/nginx/www/index.html ) this can get the site to show on local host but not on the web. I do not know why this is, the only thing I have done nothing with is sites/enabled etc.. Please what do I do now as I have port 80 open.
 
Old 11-01-2015, 10:16 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
reboot the laptop?
 
Old 11-02-2015, 01:14 AM   #3
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
Thanks for the reply but I have done that several times.
 
Old 11-07-2015, 11:30 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Check that your HH is forwarding traffic received on port 80 to the LAN IP of your laptop.
[Login to your HH, Settings - Advanced settings - Firewall]

Check that you have your WAN IP address correct.
[Login to your HH, Settings - Advanced settings - Broadband. Your WAN IP is under "Broadband network IP address: "]

I have a HH5, and it forwards ports when told to.

Do you have a firewall running on your laptop?
 
Old 11-08-2015, 09:38 AM   #5
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
Thanks for your reply, I thought I was not getting any more but I will check out what you tell me and get back.
 
Old 11-13-2015, 06:53 AM   #6
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
I have solved the problem as I did not have the correct text in nginx.conf.
 
Old 11-13-2015, 12:01 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
please share your solution, others will benefit.
 
Old 11-19-2015, 04:50 AM   #8
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
It was 2009 when I first put my site on the internet and the paths I used have all changed when I re- installed Nginx recently ( gksudo gedit /var/www/nginx-default/index.html changed to gksudo gedit /usr/share/nginx/www/index.html ) so did the paths to sites enabled and nginx.config in a simular way. As I am far from expert I did a lot of trail and error. Seeing the site on localhost
was a long way from viewing it on the web but others may be better at doing these thing than I.
Sorry I can not be more explicit.
 
Old 11-19-2015, 01:22 PM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
If it's now working for you, we'll be happy.

If it's not working, then let us know, and we'll try to help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Page Up & Page down not working in Vim editor vicky007aggrwal Linux - Newbie 3 10-17-2012 02:24 AM
reject all ip & ports and allow only some ports with iptables ysar68 Linux - Security 1 05-12-2007 08:50 PM
RH & HP4050N PCL - page, pause, page, pause, page andguent Linux - Hardware 0 11-10-2003 08:35 AM

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

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