I've researching this for over a month now and I'm very frustrated. What I want to do seems very doable but I'm frustrated that there doesn't seem to be one simple answer to this issue.
I've installed Drupal on a domain on a Virtual Private Server. The software is installed by the hosting service using Plesk but they don't support the software or Drupal, so I'm on my own.
When Plesk installs Drupal, it does so in a 'drupal' folder so when you navigate to the site, it says http://domainname.com/drupal But I want Drupal to run the entire site from the root. I don't want "drupal" to appear anywhere.
The answers I've seen say that you need to add an .htaccess file that provides a redirect and then to edit the .htaccess file in the Drupal folder and the settings.php file. But when I do this the site throws an error and I can't login to the drupal interface.
I am not a programmer or coder. I've created many HTML sites and even a WordPress site, but WordPress is so much easier to set up this way. So, sorry if this is really a lame question, but I need to know whether I need to re-install drupal in the root folder or if I can get it to actually serve drupal from the root by editing these files.
I'm able to access the site via SSH and edit or create any file needed.
Here are my questions:
Can I get Drupal to run from the root by simply editing the drupal/.htaccess file, the settings.php file and by adding an .htaccess file in the site root? If not, what do I need to do?
Do I need to move the drupal index.php file to the site root or create a new index file? None of the instructions say anything about this.
After editing those files and creating a new .htaccess file will I be able to login and manage the site properly?
Does anyone have a link to a set of instructions for a complete drupal novice? Any help in this endeavor would be greatly appreciated.
Related
I have a WordPress website in a server, the domain like this
www.myname.com/test/
Now I want move this website to root folder, the domain name will change to
www.myname.com
What's the best way to do it?
As I know, I will install a new WordPress in server root dictionary then important a the XML file which export from the old WordPress website, then fix all the broken links,images,plugins and so on.
I try to link the new website to the old database in wp-config.php, but doesn't work.
I am quite new with Drupal and trying to follow the community documentation, in order to copy a live site to a test site using cli. But, all I accomplished so far is to backup the database and modify the .htaccess file located in public_html/staging_directory, which I accessed through the terminal (ssh).
I would really appreciate if anyone has any feedback if I am on the right track with this link, or where to go from here as far as copying the contents of the live site.
A very nooby question here, but I do need to ask...
I have been passed a dotnetnuke site, created around 2010, all I have access to is the FTP for the hosting space, so I can see all the files. What I need is to find where the site keeps it's admin panel, so I can manage the pages. From what I have seen online, I need to go to mydomain/dotnetnuke, but there is no such subdir on my host, I suppose the old version I am running probably had a different convention.
What are the older defaults for DNN, from around 2010-2011 (community edition)?
thanks
You can get the login screen by putting ?ctl=login on the end of the url to the website. You will need the admin account info though to login.
The database will have the username and password, but the password will be encrypted.
Is it possible to disable a DNN portal, or an entire DNN installation to everyone except administrator / host users?
I need to update a DNN website and apply new themes to differant sections of the website, however this will take some time on the live website.
I'd like to achieve similar to this "Wordpress Maintenance Mode" module plugin.
I'm aware of using the APP_OFFLINE.html file to disable the entire website, however we need a couple of admins to go in and make changes whilst keeping everyone else off the website.
There isn't a maintenance mode in DNN. What I would do is the following.
Setup a new website in IIS, beta.mywebsite.com. Have that website point to your Existing DNN folder.
Point your current website to a new folder with the App_Offline.htm file/message in place. Then have your admins go to the beta.mywebsite.com URL instead of going to the www version of the URL.
That would probably be the most straightforward way to do this for DNN without writing a custom maintenance mode module for DNN.
It seems that DNN is undergoing an upgrade and I cannot access the forums or many of the docs. Needing an answer soon, and Google providing too many varied types of hits (none of which are helpful or most of which post to the DNN site that is undergoing that upgrade), I had a few questions about setting up DNN.
First, I am coming from Orchard. There I was able to use Webmatrix - I downloaded the web version, opened as administrator, created modules, messed with themes, etc. Using the Orchard Docs, I was able to set up a multi-tenant site and run it on local host (IIS express through Webmatrix) - this included modifying the host/config files to view the multi-tenant sites. I could then publish to my own server running IIS 7. On the server I set up the landlord site then bound the tenants with no problem.
Being new to DNN (and things not being readily available at the moment on their site), I was hoping I could get some guidance on how to set up DNN similar to what I did with Orchard.
First question is obviously whether or not that is possible (i.e., no IIS, only IIS Express (Webmatrix) on my local machine).
Here would be my other questions:
If I can run it locally, can I just download the 7.1.0 new install package, and open Webmatrix (as Admin) on the folder I unzipped it in?
Assuming I just "Run" the website, I will then set up the "Landlord" instance of DNN on the following screens, correct? (i.e., where it asks for credentials and what DB setup I can use)
Can I then go ahead and create sub-tenant sites (alias/portal)? If so, do I go about manually updating my host/config files to run those tenants (depending on the port)?
Assume all of the above is correct, do I have to "reinstall" the 7.1.0 package on my webserver, or will a simple publish from Webmatrix do (with the proper credentials in Settings)? If so, I can handle pointing to the landlord on my server and then binding my subtenants in IIS.
Sorry for the n00b questions. Thanks!
On the Download page on dnnsoftware.com, there's a link to click which will start the install process within WebMatrix: http://www.microsoft.com/web/gallery/install.aspx?appsxml=www.microsoft.com%2fweb%2fwebpi%2f2.0%2fWebApplicationList.xml&appid=106
When you create a new portal, you can specify that it uses a URL which is a subdirectory of the current URL (i.e. a child portal alias), so that you don't have to use different ports. I'm not especially familiar with IIS Express, so I would expect that you could point multiple ports to the site, and map those as different portal aliases, but not sure exactly how you could do that, if you don't want to make use of child portal aliases.
To publish a site, you should just need to push the file system and database, and setup IIS.