I'm configuring a virtual host and the instruction is as follows:

edit the new example.com.conf configuration file by uncommenting ServerName and replacing example.com with your site's IP or Fully Qualified Domain Name(FQDN).

Do I just add the domain name I intend on using for the site or is it something else? This may be a silly question but I don't wanna bug this out. Cheers!


I guess it's apache you are configureing?

Example: You have the domain: mycleverdomainname.com

Configure the DNS for mycleverdomainname.com with an A-record pointing to your webbserver IP-adress.

Your apache virtualhost can look something like this:

<VirtualHost *:80>
  ServerName mycleverdomainname.com
  DocumentRoot /var/www/myclever/

 <Directory /var/www/myclever/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride all
                Require all granted


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.