Where Is Directory Var Www Html Ubuntu?
Contents on Ubuntu, the Apache Web Server Stores Its Documents in /Var/Www/Html, Which Is Typically Located on the Root Filesystem with Rest of the Operating...
Contents
On Ubuntu, the Apache web server stores its documents in /var/www/html , which is typically located on the root filesystem with rest of the operating system.
Where is directory var www html?
var/www/html is just the default root folder of the web server. You can change that to be whatever folder you want. most of the popular web servers use it as the default path. where you have to install a framework such as CakePHP, or the folder you want to install your website on.
How do I access var www in html?
1 Answer
- Find the configuration file – usually in /etc/apache2/sites-enabled .
- Edit the configuration files – find the DocumentRoot line, and modify it to say: DocumentRoot /var/www/mysite (replacing ‘mysite’ with whatever directory name you made.
- Restart Apache – sudo service apache2 restart .