Can hostname be also used as a domain

124464

New member
Joined
Jun 15, 2023
Messages
2
Hi, I have been researching for hours but I don't quite understand something.

I have a server with debian 10 and a domainname (innovatieweb.nl). The hostname of the server is innovatieweb.nl and the domain name is pointing to the server with an A record.

I set up DirectAdmin, so when I open the control panel, I open it at https://innovatieweb.nl:2222

Can I still host a wordpress website on https://innovatieweb.nl on port 80/443?

Thanks in advance.
 
Yes, you can, but better use separate subdomain for hostname like server.innovatieweb.nl or host.innovatieweb.nl or any another.
 
Yes, you can, but better use separate subdomain for hostname like server.innovatieweb.nl or host.innovatieweb.nl or any another.
Thanks for your answer,
How do I do this through the panel? If not possible then in what path are the files for the site ? Right now if I open innovatieweb.nl, I see "webserver is functioning normally"
 
Also be sure in the OS it's set correctly if possible, like in the /etc/hosts file and if possible /etc/HOSTNAME (some applications look at it).
In addition to Billy's link it might be wise to create a seperate DNS zone for your hostname too.
In Administrator settings, use the DNS Administration and enter your hostname (so server.innovatieweb.nl) there with the nameservers and server ip. Once this is done you can also get an SSL record for your hostname.

Right now if I open innovatieweb.nl, I see "webserver is functioning normally"
This mostly means that DNS is not set correctly or the domain DNS is not synchronised.
Since you're using the Vimexx DNS servers, you have to copy the DNS records to Vimexx DNS, for example at this moment there is no A record for www present.
 
Back
Top