문제

I currently have this apache2 site configuration:

<VirtualHost *:80>
    ServerAdmin admin@example.com
    ServerName engine.com
    ServerAlias www.engine.com
    DocumentRoot /var/www/engine.com/public_html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

If I type engine.com I just get a blank page.

My directory setup is like this

/var/www/engine.com/public_html/wp-content...

Localhost works fine and wordpress installation is triggered, but as I say engine.com just brings me a blank page.

도움이 되었습니까?

해결책

Don't you need to add

engine.com 127.0.0.1

to your hosts file?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top