How to publish a website running on apache server in virtual host to public ip
Good evening,
I've configured a domain on apache server inside my virtualbox running with centos 7, i want this domain to be accessible on public ip. i knew that port forwarding need to be done, but i don't have any idea hwow to do that, btw i use netgear router. can it be done by using port forwarding in netgear routers Thanks in advance |
This will all depend on how your virtualbox nics are setup.
If setup as bridge then you only need to setup your netgear to forward the port to the ip address of the web server. If setup as a NAT then you need to setup iptables on your VB server for nat to the inside to the VM IP Address and then setup your netgear to forward the port to the VB server. |
Quote:
Steps will (roughly) be:
|
www-search magic keyword: rfc1918
You might need like step 6 of: http://www.noip.com/support/knowledg...ith-no-ip-com/ If VBox, try 'bridged' Let us know!!! |
All times are GMT -5. The time now is 01:24 PM. |