Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin xxx
  3. ServerName acollida.com
  4. ServerAlias www.acollida.com
  5. DocumentRoot /var/www/acollida
  6. ErrorLog ${APACHE_LOG_DIR}/error.log
  7. CustomLog ${APACHE_LOG_DIR}/access.log combined
  8. </VirtualHost>
  9.  
  10. <VirtualHost *:80>
  11. ServerAdmin xxx
  12. ServerName segona.com
  13. ServerAlias www.segona.com
  14. DocumentRoot /var/www/segona
  15. ErrorLog ${APACHE_LOG_DIR}/error.log
  16. CustomLog ${APACHE_LOG_DIR}/access.log combined
  17. </VirtualHost>
  18.  
  19. a2ensite
  20.  
  21. 127.0.0.1 localhost
  22. 127.0.1.1 ubuntu01
  23.  
  24. 192.168.10.17 segona.com
  25. 192.168.10.17 acollida.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement