Skip to main content
Apache is the proper capitalization.
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265

I'm trying to set up my new redhatRedhat server and I have apacheApache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns:

    [root@511863-web3 sites-enabled]# /usr/sbin/httpd -S
    VirtualHost configuration:
    Syntax OK

So it doesn't look like it's detecting it. Since it's a new server, am I missing some sort of configuration? I restarted httpd, but my site still doesn't work.

I'm trying to set up my new redhat server and I have apache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns:

    [root@511863-web3 sites-enabled]# /usr/sbin/httpd -S
    VirtualHost configuration:
    Syntax OK

So it doesn't look like it's detecting it. Since it's a new server, am I missing some sort of configuration? I restarted httpd, but my site still doesn't work.

I'm trying to set up my new Redhat server and I have Apache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns:

    [root@511863-web3 sites-enabled]# /usr/sbin/httpd -S
    VirtualHost configuration:
    Syntax OK

So it doesn't look like it's detecting it. Since it's a new server, am I missing some sort of configuration? I restarted httpd, but my site still doesn't work.

edited tags; edited title
Link
Braiam
  • 36.9k
  • 29
  • 114
  • 176

Redhat Linux + HTTPD: Apache config in sites-enabled not being detected?

Source Link
bigpotato
  • 275
  • 1
  • 3
  • 11

Redhat Linux + HTTPD: Apache config in sites-enabled not being detected?

I'm trying to set up my new redhat server and I have apache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns:

    [root@511863-web3 sites-enabled]# /usr/sbin/httpd -S
    VirtualHost configuration:
    Syntax OK

So it doesn't look like it's detecting it. Since it's a new server, am I missing some sort of configuration? I restarted httpd, but my site still doesn't work.