Skip to main content

WHM Virtualhost not working

Comments

1 comment

  • mmilo
    Welp, looks like I had to edit /var/cpanel/templates/apache2/main.local , and changed
    [%- FOREACH nvh IN namevirtualhosts -%] NameVirtualHost [% nvh %] [% END -%] NameVirtualHost *
    to
    [%- FOREACH nvh IN namevirtualhosts -%] NameVirtualHost [% nvh %] [% END -%] NameVirtualHost myip:80
    0

Please sign in to leave a comment.