I have been attempting to create a new directory for my apache server. As I tried to access the new directory, I type:
sudo /etc/init.d/apache2 restart
But I obtain this error in the Ubuntu Terminal:
Syntax Error on line 1 of /etc/apache2/conf.d/fqdn.save: ServerName takes one argument, the Hostname and port of the server.
As I investigate, the fqdn.save file could not be accessed and is considered unknown. I want to delete this file, but I'm unable to as I believe I need root access.
Does anyone know how to delete this unwanted file in Ubuntu? Or does anyone know how to redirect the apache2 restart to /etc/apache2/conf.d/fqdn (instead of fqdn.save) when I type "sudo /etc/init.d/apache restart" on the terminal
please and thank you