Skip to content

Instantly share code, notes, and snippets.

@robpataki
Created February 14, 2017 10:25
Show Gist options
  • Save robpataki/3f0c4e738bc542d3b862c7f80ddfa1f8 to your computer and use it in GitHub Desktop.
Save robpataki/3f0c4e738bc542d3b862c7f80ddfa1f8 to your computer and use it in GitHub Desktop.
Remove a domain served by Apache from your Linode

Remove an unwanted domain served by Apache from your Linode

Remove a domain

sudo a2dissite example.com
sudo rm -rf /root/public/example.com
sudo rm /etc/apache2/sites-available/example.com
sudo service apache2 reload
@robpataki
Copy link
Author

Also check out how to create a new domain/subdomain on Linode using Apache here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment