Installed Apache in CentOS 7 cannot browse default page

Issues related to applications and software problems
Post Reply
Veleirian
Posts: 1
Joined: 2021/09/27 08:37:45

Installed Apache in CentOS 7 cannot browse default page

Post by Veleirian » 2021/09/27 08:51:39

Hello, I am new to Cent OS and trying to install Apache for hosting reverse proxy for my .net web application. But after I have installed the Aapache, I cannot browse the default page or make some testing page via /var/www/html/index.html.

I installed Cent OS in VMware and having internet connection using proxy. Please kindly advice. Thank you in advance.

hostname -I
192.168.***.133 192.168.***.1
-----------------------------------------------
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
-----------------------------------------------
service httpd status
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2021-09-27 04:22:15 EDT; 25min ago
Docs: man:httpd(8)
man:apachectl(8)
Main PID: 4058 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
Tasks: 6
CGroup: /system.slice/httpd.service
├─4058 /usr/sbin/httpd -DFOREGROUND
├─4061 /usr/sbin/httpd -DFOREGROUND
├─4062 /usr/sbin/httpd -DFOREGROUND
├─4063 /usr/sbin/httpd -DFOREGROUND
├─4064 /usr/sbin/httpd -DFOREGROUND
└─4065 /usr/sbin/httpd -DFOREGROUND

Sep 27 04:22:15 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
Sep 27 04:22:15 localhost.localdomain httpd[4058]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhos...s message
Sep 27 04:22:15 localhost.localdomain systemd[1]: Started The Apache HTTP Server.
Hint: Some lines were ellipsized, use -l to show in full.
-----------------------------------------------

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Installed Apache in CentOS 7 cannot browse default page

Post by aks » 2021/09/30 18:36:56

There's an sebool for proxying - enabling it might make your website work ....

Post Reply