0

In my /home directory there are a bunch of directories that each represent a website. Some of these directory names are the same name as the domain name so those are obvious. But other directory names are a bit obscure and there's no easy way for me to tell which domain they are for. How can I easily see which domain names all these directories are mapped to?

  • Look at your web server configuration. – Zoredache Jan 7 at 23:30
  • Apache? Which file? – Ryan Jan 7 at 23:32
  • Dunno why not start simple and just grep the file(s) for a domain name that you know works. – Zoredache Jan 7 at 23:48
  • Who configured the web server? – Michael Hampton Jan 8 at 0:02
  • Someone else configured it - the previous developer probably. Will try grep. – Ryan Jan 8 at 18:22

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.