Do I use the FULL domain + extension when replacing "your_domain"?

Posted July 11, 2020 686 views
Linux BasicsApacheUbuntu 18.04

As per the title, the setup tutorials often say “/var/www/your_domain”.

Should it be “” or just “mydomain”?

That part is confusing because, for example, when configuring Webmin, it says to visit “http://yourdomain”. That would suggest I need the domain extension.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @orbitstorm88

The name of the file should contain the domain’s extension as well. So in this case will be /var/www/

And of course when you’re asked to visit the Webmin it will be again required to visit the URL with the domain’s extension as well.