Control Web Panel

WebPanel => DNS => Topic started by: Dzonny on May 09, 2019, 01:05:04 PM

Title: Domain point to subdirectory?
Post by: Dzonny on May 09, 2019, 01:05:04 PM
Hey all.

I have domain mysite.com and I have Moodle installed in /~directory/
I'd like my main domain to automatically point to /~directory/ and make that my root domain, if that's possible? How can I do that without moving the whole moodle into actual root dir?

For what it's worth, I'm using CentOS 7, and CWP 0.9.8.812.
Apache version: Apache/2.4.29
PHP version: 7.0.33 [PHP Switcher]
MySQL version: 10.1.31-MariaDB
FTP version: 1.0.46

Thanks.
Title: Re: Domain point to subdirectory?
Post by: Igor S. on May 22, 2019, 11:50:14 AM
Hi, you can't change the website's home folder.
Title: Re: Domain point to subdirectory?
Post by: adamjedgar on May 25, 2019, 07:15:43 PM
https://askubuntu.com/questions/337874/change-apache-document-root-folder-to-secondary-hard-drive