Solved

second website on drupal install

Posted on 2011-03-08
6
433 Views
Last Modified: 2012-05-11
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.
0
Comment
Question by:jimmylew52
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:gizmola
ID: 35073278
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.  
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 35074431
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?
0
 
LVL 4

Expert Comment

by:gizmola
ID: 35075119
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.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Accepted Solution

by:
jimmylew52 earned 0 total points
ID: 35124010
Wasn't all that difficult.

Create a database for site2

Make a directory called site2.com

In the site2.com directory - copy the default.settings.php file to the folder as settings.php and create a directory called files.

Give write access to the file and folder in site2.com

Set DNS for www.sie2.com to point to the server with the drupal install.

Open a browser and go to www.site2.com.

Install and configure drupal to access the created database.

Configure the website in durpal.
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 35124015
Forgot to add. Both sites are up and functioning on the same durpal server.
0
 
LVL 1

Author Closing Comment

by:jimmylew52
ID: 35252717
No other answer was provided by the team.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question