Solved

second website on drupal install

Posted on 2011-03-08
6
441 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
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…

820 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