I have a Ubuntu 18.04 Server running Apache on a Hyper-V VM. Right now as it's set up it can be accessed from anywhere on the web, how do I restrict access to the internal network only for setting up a intranet?
Thanks!
I have a Ubuntu 18.04 Server running Apache on a Hyper-V VM. Right now as it's set up it can be accessed from anywhere on the web, how do I restrict access to the internal network only for setting up a intranet?
Thanks!
My company's employees website can be accessed:
employees.corp.com
employees.corp.com
Problem: After commuting from home, accessing the website employees.corp.com
from inside the company often fails.
ping employees.corp.com
it says 64 bytes from w91284.telco.com (1.2.3.4): icmp_seq=1 ttl=255 time=2.08 ms
.employees.corp.com
all the time, inside and outside, with no problem. I am also the only one using Linux (Ubuntu 2018.04 installed from scratch but I had the same problem with 2016.04).I have found two workarounds for when that happens:
employees.corp.com
with 192.168.1.2
sudo service network-manager restart
Both of these workarounds fix the problem momentarily, but none is satisfying as they waste time every day. What would be a permanent solution?
Disabling or shortening DNS cache would make the whole Internet a bit slower to access so I would prefer if it is limited to this particular domain. I am open to completely different solutions too.
at my workplace there is intranet that we use to access our local site to do office work.
occassionaly we use smartphone as modem to connect to internet to access. but when we try to access a site on internet it displays page not found. Then for this we have to temporarily disable the wired intranet. Then to access the intranet we have disable the wireless modem and enable intranet. is there any way that both connections are active simultaneously and whenever we type some address it should first check local intranet and if found load it else access the internet to load website?
At home, I have Ubuntu server with the UFW firewall. What command do I type to turn on local intranet access to my web server, but keep the outside world out from my DSL modem?