Control Web Panel

WebPanel => Information => Topic started by: its_me_rbk on April 25, 2025, 06:21:50 PM

Title: Website in Hostname
Post by: its_me_rbk on April 25, 2025, 06:21:50 PM
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.

Title: Re: Website in Hostname
Post by: 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.
Title: Re: Website in Hostname
Post by: its_me_rbk on April 26, 2025, 04:16:00 AM
Server webroot is /usr/local/apache/htdocs/
serving /usr/local/apache/htdocs/index.html by default.

Thanks for your reply!