Author Topic: Website in Hostname  (Read 69 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Website in Hostname
« 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.


Offline
*****
Re: Website in Hostname
« Reply #1 on: April 25, 2025, 09:41:51 PM »
Server webroot is /usr/local/apache/htdocs/
serving /usr/local/apache/htdocs/index.html by default.

Offline
*
Re: Website in Hostname
« Reply #2 on: Today at 04:16:00 AM »
Server webroot is /usr/local/apache/htdocs/
serving /usr/local/apache/htdocs/index.html by default.

Thanks for your reply!