Hot answers tagged

4

Changing the webserver port also requires changing the SELinux policy for the webserver which is well documented : Run the semanage port -a -t http_port_t -p tcp 82 command as the root user to add the port to SELinux policy configuration. Run the semanage port -l | grep -w http_port_t command as the root user to confirm the port is added... ...


4

Nginx will choose the first server in the config if no default server is specifically defined. Install a dummy default server. # This just prevents Nginx picking a random default server if it doesn't know which # server block to send a request to server { listen 80 default_server; server_name _; return 444; access_log off; log_not_found off; } ...


2

Your IP address is 204.197.240.85, I got this by looking up your hostname in the DNS. dig www.drpradeepjain.org ... ;; ANSWER SECTION: www.drpradeepjain.org. 600 IN A 204.197.240.85 A reverse lookup on that IP address shows dig -x 204.197.240.85 ; ANSWER SECTION: 85.240.197.204.in-addr.arpa. 21599 IN PTR da.datameter.net. Using ...



Only top voted, non community-wiki answers of a minimum length are eligible