• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: October 16th, 2023

help-circle
  • The apache2 setting you’re looking for is DocumentRoot together with Directory. And maybe VirtualHost or Named Host or ServerAlias.

    Depending how your webserver is configured now (using the default apache2 host?), you might want to add either a NamedHost or a VirtualHost with the new DocumentRoot.

    Can’t tell you how to do it via cPanel, but those settings are available in /etc/apache2/conf/apache2.conf or the like

    It’s common to have separate folders for different webservices like /var/www/html/yourwebservice.