web hosting
Hi All
I was wondering how I could host my web apps so that anyone could see them in both WAN and LAN ? I run a local LAMP dev box I realise that this would be foolish and leaves my linux bo open to all kinds of vulnerabilities ... regards, Steven Matthews |
To start you need a domain name and a DNS entry which points to the IP from your router.
On the router, you need to forward port 80 to the server. Do you have a fixed or dynamic IP? Does your ISP allows you to run servers, eq is port 80 open? Kind regards |
RE To start you need a domain name and a DNS entry which points to the IP from your router.
I have done this using dyndns RE Does your ISP allows you to run servers, eq is port 80 open? I would imagine not - why would an ISP allow this ? Assuming not, how to direct traffic to my machine via another router ? regards, Steven Matthews |
Quote:
Quote:
Did you forwarded the port on the router to your server? Kind regards |
Quote:
I am new to port forwarding so bear with me ... dyndns have given me this information: URL: stevenm.dyndns-at-home.com Current IP Address of network (def gw): 81.38.27.58 my internal (local LAN) static IP address is 192.168.1.34 I want to enter the network via the router from the outside using IP address 81.38.27.165. All TCP packets destined for port 80 should be forwarded to port 80 on my local machine What commands would I use to set this up and test it ? iptables ? Steven Matthews |
Quote:
Hi again, I am new to port forwarding so bear with me ... dyndns have given me this information: URL: stevenm.dyndns-at-home.com Current IP Address of network (def gw): 81.38.27.58 my internal (local LAN) static IP address is 192.168.1.34 I want to enter the network via the router from the outside using IP address 81.38.27.58. All TCP packets destined for port 80 should be forwarded to port 80 on my local machine What commands would I use to set this up and test it ? iptables ? Steven Matthews |
Quote:
RE you need a domain name and a DNS entry which points to the IP from your router Wouldn't dyndns have set that up for me when I registered 'stevenm.dyndns-at-home.com' with them ? regards, Steven Matthews |
On the router, forward port 80 to 192.168.1.34
Start with a disabled firewall on 192.168.1.34 Make sure the webserver is running. See if it works, then setup the firewall. Kind regards |
All times are GMT -5. The time now is 06:27 PM. |