Link to home
Start Free TrialLog in
Avatar of jimmylew52
jimmylew52Flag for United States of America

asked on

second website on drupal install

I have a drupal install on ubuntu that has a functioning website on it. When it was setup it was setup to be able to run multiple websites from the installation. This was done by a contractor that we are no longer able to get in contact with.

How do I establish the second website in the durpal installation.
Avatar of gizmola
gizmola

Your description is too vague, and this could be done in too many different ways to provide you an answer.  Your best bet is to find yourself a web developer/sysadmin who can come in and analyze what you have, and take it from there.  
Avatar of jimmylew52

ASKER

in the /var/www/durpal6 directory I have a directory called site1.

I have read where copying the default.settings.php file to a folder called site2.com and accessing www.site2.com that I can configure the new site.

I get a web page wanting to install drupal. Is this correct? Do I need to install drupal again?
Websites just don't work that way.  The first thing that controls the resolution of a name to IP is DNS.  From there apache has to be configured either to have a vhost that will serve up content for a particular name.  None of these things have anything to do with drupal.  Last but not least, drupal stores its content in a database.   There are also htaccess files that have mod rewrite rules in them and any number of other configuration questions.

Plainly speaking, no you can't just copy a bunch of files from one drupal install to another and get a 2nd website up.  Copyiing files and changing the config and doing a bunch of other things could be *part* of the answer, but if you don't know what you're doing, it's also a good way to waste your time at best, and corrupt or screw up your existing drupal database at worst.
ASKER CERTIFIED SOLUTION
Avatar of jimmylew52
jimmylew52
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forgot to add. Both sites are up and functioning on the same durpal server.
No other answer was provided by the team.