Target audience: Administrators of virtual host websites
The Virtual Web Hosting service (VHost) allows web publishers to publish an independently designed website on a centrally managed system that is secure, reliable, easily recoverable, and offers a reduced risk of server downtime.
In this article:
Use the File Manager feature to see the home filesystem for your account.
To access the File Manager:
Note: This is not the document root for your website. Your website resides in the www directory, which is a link to the directory public_html. The other directories are there to support the virtualization of your account within the system and do not require you to edit anything for the correct functioning of your website.
The File Manager has two panels:
In either panel, click the directory or file name to see a listing of the directory contents in the main panel.
To upload files to the File Manager directory you are in, you can either use:
The toolbar also allows you manipulate files (e.g., edit, delete):
As your document root is www, you will place your files that support your website here. A common directory structure under www has the following directories:
You would then reference the contents of these directories with a "/" where www is your document root. The HTML for an image would be formatted as:
Example: <img src="/images/vacay1.jpg" alt="Ibiza Beach at dawn">
The cascading style sheet (CSS) you use to style a page is formatted as:
Example: <link rel="stylesheet" href="/css/vacay.css">
Of course, you may set up whatever structure you need to support the site you are building.
Use the Images feature to:
To access the Images feature:
The File Manager and Images features are fully documented at https://docs.cpanel.net/