Created
December 20, 2016 01:07
-
-
Save craigpalermo/416a61c2caf77b834c8a46f8f0e517ea to your computer and use it in GitHub Desktop.
Prints ServerName line of each enabled Apache site configuration (so you can see which subdomains you're hosting)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls /etc/apache2/sites-enabled/* | xargs cat | grep ServerName | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment