Solved

second website on drupal install

Posted on 2011-03-08
6
346 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now