Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 465
  • Last Modified:

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.
0
jimmylew52
Asked:
jimmylew52
  • 4
  • 2
1 Solution
 
gizmolaCommented:
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
 
jimmylew52Author Commented:
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
 
gizmolaCommented:
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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
jimmylew52Author Commented:
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
 
jimmylew52Author Commented:
Forgot to add. Both sites are up and functioning on the same durpal server.
0
 
jimmylew52Author Commented:
No other answer was provided by the team.
0

Featured Post

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.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now