Hello I want to deploy two sites. One called drupal, and another site called drupal-gh. Currently, I can only make one site only work at a time - but I need both. This is because when I deploy a site, it uses my server IP address.
I want to make my drupal site have a url of http://"IP address"/drupal and I want my drupal-gh site to have a url of http://"IP address"/drupal-gh. So this way they can both be used.
<VirtualHost *:80>
ServerAdmin test@test
DocumentRoot /var/www/drupal
ServerName localhost
ErrorLog /var/log/httpd/drupal-error-log
CustomLog /var/log/httpd/drupal-acces-log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin test@test
DocumentRoot /var/www/drupal-gh
ServerName localhost
ErrorLog /var/log/httpd/drupal-gh-error-log
CustomLog /var/log/httpd/drupal-gh-acces-log common
</VirtualHost>
@cyberx86Yes I have one site with two directories. How do I use multiple installs of Drupal or use multi-site? – Shehzad009 Jan 3 at 10:18RewriteBaseparameter in the.htaccessfile. – BMDan Feb 6 at 20:15