New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Website in Hostname

Started by its_me_rbk, April 25, 2025, 06:21:50 PM

Previous topic - Next topic

its_me_rbk

Hi,

I have a question about setting up websites on subdomains - especially the server hostname.

Let's say:
I've set server.domain.com as my server's hostname (used for the panel, like CWP panel).
I also have other subdomains like shop.domain.com, portfolio.domain.com, etc., added for users or websites.

Now, I want to know:
👉 Where do I store the website files for the hostname subdomain (server.domain.com)?
I want it to show a website when someone visits https://server.domain.com/.
I don't want it to render the demo page of CWP Panel.
Is there a specific path for this?

Many thanks for considering my request.


overseer

Server webroot is /usr/local/apache/htdocs/
serving /usr/local/apache/htdocs/index.html by default.

its_me_rbk

Quote from: overseer on April 25, 2025, 09:41:51 PM
Server webroot is /usr/local/apache/htdocs/
serving /usr/local/apache/htdocs/index.html by default.

Thanks for your reply!