Domain amazon server windows - server

Domain amazon server windows
domain:
http://ec2-35-167-45-49.us-west-2.compute.amazonaws.com/
Is work in server. But not work in internet.. why?
i run flask server witch ip 0 0 0 0
in windows amazon
if __name__ == '__main__':
app.run_server(host='0.0.0.0', port ='80', debug=True, threaded=True)
Screen example
in settings server i add group http

Related

mikrotik cannot ping lan from wan

im doing a little project and have big problem.
I have 3 virtual machines, windows server 2019, mikrotik, and windows 10.
My server have connection to mikrotik on lan intherface and windows 10 have connection to wan interface.
win serv ip add: 10.0.8.2/24
win 10 ip add: 80.80.8.2/29, gateway: 80.80.8.3
this is configuration of my router.
I can ping my win 10 machine from my server but cannot ping my server from my win 10.
i also add pics of routes table
and firewall nat roules
also pics from trying to ping my server from windows
Problem solved, you should add static trase route on your host

Trying to setup a personal ANS server. Not able to bind domain name

Goal:
My goal is to setup a web server and an ANS server for my website at home where it is publicly available. I can access the webpage through my public IP address outside of my network, but can't figure out how to bind that address with the domain name I purchased on namecheap.com.
What I'm Running:
I'm using
VirtualBox 6.0.4
; 3 guest machines that are running Ubuntu 18.10 (for a primary and secondary dns server and a web server)
; my host machine is running Windows 10
; bind9 for ANS (DNS) and apache2 as a web server
; and my domain name was purchased at namecheap.com
What I've Done:
I've followed the instructions on this page to setup the DNS servers : https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04
The network setting on VirtualBox(VB) is set to "bridged adapter."
On my router, I've opened (http) port 80 for the IP address of my apache web server and (tcp/udp) port 53 for the IP address of my primary DNS server.
My questions:
I'm unclear as to which IP addresses to put in at namecheap.com under "custom DNS"?? The IP addresses of my DNS servers in VB or the IP address of the DNS servers that is provided by my router? If it's the latter, then how do I add them to the named.conf files?
Considering that the public IP address of your router does not change, you should do port forwarding in the router for your VB to be accessed from the internet, then use your router's public IP to configure in namecheap.

Google - Compute Engine VM - cannot bind to internal IP

We have created 2 x VMs (both with the same spec - Windows 2012 R2, 2 x cores, 12Gb, 1 static IP).
I have deployed our tomcat application to one server and the app responds on both localhost and the internal ip address of the VM e.g.
http://localhost:90/integrationmanager
http://10.150.4.11:90/integrationmanager
So that all works normally on that server.
On the the second server, the app responds ok on localhost but it does not respond on the internal IP address of 10.150.4.8
http://localhost:90/integrationmanager
but this fails http://10.150.4.8:90/integrationmanager
The tomcat server.xml is the same for both servers so it is not an app config issue. since the test is being done direct on the local server it is not a VPC firewall issue as the request is not going off-box.
I have switched back to an ephemeral address from a static and that made no difference.
Windows Firewall is disabled on both private and public networks, it is not a member of a domain so that is not applicable.
Any ideas ? I am considering blowing away the VM and starting again
it turns out that McAfeee (which has its own firewall) had been installed on the server which had the issue. Now disabled and all is working ok.

ec2 instance is getting down through nagios server

ec2 instance is getting down while monitoring via nagios server and another digitalocean droplet being monitor via same nagios server while port 5666 TCP port enable on ec2 instance.
I followed this documentation for set up Nagios Server & client
https://www.digitalocean.com/community/tutorials/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-14-04
Nagios server does is an ICMP request to the client a.k.a ( ping ) to check the client healthy. With that said, we need to allow the ICMP (in security group add: All ICMP - IPv4 with source anywhere) protocol on your instance, by doing that i abled to check the client health and check the instance status.

Not able to connect to my server

I have a small local network, with the following devices: a router , a Dell laptop running Ubuntu 16.04 LTS as my server, and another HP laptop to test access.
My IP addresses look like this:
router: 192.168.0.1
server: 192.168.0.101
laptop: 192.168.0.100
I have successfully setup LAMP and have one small page (/var/www/html/index.html) with one picture. I can't access this from my HP laptop by entering 192.168.0.101 into Firefox or Chrome.
In order to access your server you have to make it publicly so I will describe the steps required to do it:
Login to your router, search for Port Forwarding section and forward the port 80(HTTP Port) to 192.168.0.101(Your Web Server). You can find a guide for Port Forwarding after selecting your router model here : https://portforward.com/router.htm
Access your webserver by your external Ip. http://yourexternalip
(Optional) If you have dynamic Ip, you can set a Dynamic DNS to create a domain name that will always point to your webserver even your Ip will change after a router reboot or something like that. You can read this guide for setting up a DDNS: https://www.howtogeek.com/66438/how-to-easily-access-your-home-network-from-anywhere-with-ddns/