LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2010, 02:35 PM   #1
rickfortier
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
How do I move root folder of website


I hope this is a good forum to ask this. I have purchased hosting a week ago and installed drupal. I put it in a folder called drupal in httpdocs folder. So people go to www.mydomain.com/drupal/index.php. I want them to be able to go to www.mydomain.com/index.php to see my drupal site.

How can I move this? I tried going to the conf folder but get accessed denied.

Here is a link to my site configuration:
http://drupal.historicaloptiondata.com/phpinfo.php

Rick
 
Old 09-16-2010, 02:40 PM   #2
suprstar
Member
 
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 22
Move the contents of the drupal folder to httpdocs instead. If your webhost doesn't have file management tools for you, re-ftp it to the host in the proper folder, and delete the copy in drupal.
 
Old 09-17-2010, 01:22 AM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
if your host gives you jail shell it would prolly be easier that way.

cd /path/to/folder
mv * /home/yourusername/httpdocs/

Please keep in mind though. I am not sure with drupal but some cms (content management system) you will have to change your config.php or what ever your config file maybe and update the new directory. So if you find your site not working after moving your files check your config file and verify.

Also I would like to add is making your phpinfo public can be a security risk. It tell attackers all your php settings so don't leave that file up. If drupal is really secure script then it not nothing to worry about.

Good luck to you

Last edited by jmc1987; 09-17-2010 at 01:26 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
subdirs in my website root folder are getting the 403! HELP! mtlhd Linux - Server 3 10-21-2008 02:26 PM
How to automatically move files from one folder into another folder? xmrkite Linux - Software 6 11-05-2006 11:39 AM
i move my /etc folder in my /home folder Casanogab Linux - Newbie 8 03-31-2006 02:21 PM
how can i move this folder of music from /root/Shared to /home/coffee/Shared ? thx mr_coffee Linux - Newbie 9 01-23-2006 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration