By bigbman on
Perhaps that a bit of a dramatic title, but I'm desperate for help!
I signed up with GoDaddy for a shared hosting account. It came with a Drupal installer, so I went for it (I've installed this myself on windows before).
I had the installer place the drupal root in a folder called ./drupal and pointed my domain there.
The default site works fine, but when I try to access a test multisite (in ./drupal/sites/mydomain.com.test), it gives me a "page not found" error from the default site. I've done this before, so I understand the necessary format for sites folders.
Has anyone successfully used the GoDaddy Drupal installer and multisite? This is driving me crazy... please help!
B
Comments
Just finished first install in multisite mode on 1and1
It was a pain, the doc is confusing and the .htaccess shiped with Drupal 5.3 did not work for me.
Anyway, is that GoDaddy web server returning a page not found or Drupal (i.e. is it a GoDaddy problem or a Drupal problem)?
Good luck with that.
http://www.weiersmuller.org
Drupal is returning the
Drupal is returning the error.
http://www.bryansbusiness.com/ - points to my ./drupal folder installed at the root by GoDaddy
http://www.bryansbusiness.com/test - should be resolved by the drupal install to the site in ./drupal/sites/bryansbusiness.com.test (using default settings.php)
When I enter the test URL above, I get a "page not found" error from what looks like the default site (I named and themed it as such).
I'm going to try re-installing drupal if I can't get this to work in the next 8 hours or so. Marco, if you could post your .htaccess and explain a little more about your environment, I'd greatly appreciate it.
I guess the next step will be attempting a manual install. If that doesn't work, I'll have to use seperate installs of drupal for each of my sites (yuck).
I wish I had gone with Dreamhost, but I'm in it for 12 months with GoDaddy, and I'm sure there are many out there with me who would appreciate help with this subject.
Thanks!
B
My 2 cents
Don't be to hasty. GoDaddy is pretty good with credits, so if you just signed up don't struggle with getting it to work because you think you're locked in.
Additionally, I've labored hard over which host and I have rarely (actually other than you and me - never) seen anyone comment on their use of GoDaddy. So, either everyone on GoDaddy is running so perfectly they don't have questions or, well you know the rest.
So you know, the reason I left I GoDaddy is because (a bit over 1 year ago) I was getting a drupal error due to some web server permissions which GoDaddy was having a hard time addressing, so I found it easier, and more calming, to move.
Just my 2 cents
I used GoDaddy shared
I used GoDaddy shared hosting with Drupal. They don't have permission problems now but you may find your website running very slow and sometimes even running out of memory(by the way - same with Joomla and other scripts. NOT DRUPAL RELATED).
Editing php.ini didn't solve that.
I upgraded to their best shared hosting and it didn't work and I'm talking about:
- <10 users (ann.+logged in)
- <10 contributed modules
- <300 nodes
- no video/ audio steaming
- no digg or myspace clones
Their support response was fast but they only said that "we don't support 3rd party products and we recommend you to upgrade to VPS". VERY BAD SUPPORT.
I'm using now their VPS hosting and I don't have any problem.
I used 3 other shared hosting companies and every time I had the same problem (Drupal, Joomla, phpBB, SMF, Wordpress).. and more..
My adivce:
if you can afford the extra ~10-20$/month, and you are willing to learn how to run your LAMP server (not that difficult, it took me ~2 weeks), avoid the shared hosting.
Here is my working .htaccess
# Protect files and directories from prying eyes.
Order allow,deny
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
# PHP 4, Apache 1.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# PHP 4, Apache 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# PHP 5, Apache 1 and 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# Requires mod_expires to be enabled.
# Enable expirations.
ExpiresActive On
# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600
# Do not cache dynamically generated pages.
ExpiresByType text/html A1
RewriteEngine on
# To redirect all users to access the site WITH the 'www.' prefix,
# (http://example.com/... will be redirected to http://www.example.com/...)
# adapt and uncomment the following:
RewriteCond %{HTTP_HOST} ^weiersmuller\.org$ [NC]
RewriteRule ^(.*)$ http://www.weiersmuller.org/$1 [L,R=301]
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteBase /drupal
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
Environment
I use 1and1, I installed Drupal 5.3 manually in multisite mode although so far I have actually just on site running (i.e. weiersmuller.org).
my directory looks like yours:
/drupal/sites/weiersmuller.org/settings.php
I basically uploaded 5.3, unzipped, pointed my domain name to /drupal/, created a dbms on 1and1, ran through the Druapl dbms installer, then I took the settings.php created by the installer in the default directory moved it to the weiersmuller.org dir, tested it and voila.
I can see your base URL is working but not the test directory.
Do you really need it? is that just for testing?
If this is just for testing what about using a subdomain?
http://test.bryansbusiness.com/
Also, I am wondering whether your problem is that you have a settings.php in default dir and that Drupal thinks test is actually a dir of the default site as opposed to picking up the settings.php on the test sub dir in "sites" (i.e. does a "default" config has priority over the a "sites" config).
Can you rename or remove your settings.php from the default dir and test again the URL with the test dir in it.
Cheers,
Marc.
http://www.weiersmuller.org
1and1 shared account
My wife run her tea business http://www.chinasecret.co.uk on 1and1 shared account, she does not complain too much.
I just started my site with Drupal so I can't rely comment on that specifically.
Cheers,
Marc.
http://www.weiersmuller.org
My experience with GoDadyy
I never had good luck with GoDaddy and Drupal.
I moved to DreamHost shared hosting because of this - (Dreamhost is not perfect, the biggest problems I have with them is
A) Their SQL and WEB server are separate machines and this makes for a bit of a delay if you intend to have a very large community some day.
B) They don't support a site cert so they force you purchase a cert per domain even for development - (if you want to login securely for dev purposes.)
I'm thinking on moving to Site5 for short term then MediaTemple when a site gets really busy.
But, in answer to your question, multi site with DreamHost works without a hitch. I have mydrupaldomain.com and stage.mydrupaldomain.com for every site I work on.
Cheers
Cozmo
Success
I was able to install drupal 5.3 on GoDaddy and get subdomaines working. It was actually pretty easy.
Here's what I did...
- Install Drupal at the web root (you can use metropolis, but I wanted to have the site be www.something.com; not www.something.com/drupal)
- Configure settings.php found under sites/default/settings.php
- Run the install script -> it should work.
- Copy the directory sites/default in site/ and rename it with the name of your domaine. Mine is www.lebodo.com so my directory is sites/www.lebodo.com. Since the settings.php is the same as the default directory, you're essencially going to the same database. Again, the site should work. (you should have 3 directory inside of sites/ (all, default, yourdomaine)
- Create a subdomaine in GoDaddy's hosting control centre (davidjacques for me).
- Copy the directory sites/default in site/ and rename it to your subdomaine (i.e. davidjacques.lebodo.com). You now have 4 sites in sites/.
If you want to have different content for your different sites or subdomaines, you only need to do either (1) Create a new database and change settings.php for a particuliar site or (2) use the same database, but add db_prefix for the tables that the site will be using. Either way, you will have to run install.php to generate the tables in the database.
Anyways, I hope it work for you. I can't speak of the reliability or speed of Godaddy's service. Only time will tell (but I don't have high hopes for this service - I heard good things for www.polurnet.com and going to a virtual dedicated server would be the way to go).
Thanks for your reply. All
Thanks for your reply. All that sounds great, but I don't want to install Drupal in my web root because I'll be installing other apps (like pmWiki) in the same root, and pointing different domains to each. So, to keep things from getting messy, I need to install into a ./drupal folder.
I actually got to a point where I was able to point www.bryansbusiness.com to ./drupal and it appears to work as a multisite. I have another domain called www.bryansbiz.com which points to the root. www.bryansbiz.com/drupal shows the default site, but attempting a login or multisite from there doesn't work. I think I need to do something to .htaccess, but I don't know much about that.
GoDaddy .htaccess & cleanurl problems
I can only get my drupal install working on a Godaddy shared plan if I don't have any .htaccess files in the directories above it! ANY .htaccess file seems to cause a server error. Will keep trying...
-except Drupal's!
Being ignorant, I decided to try Drupal's .htaccess file in my other dir's including - and all the sites (static, Drupal, Zencart, Wordpress, etc) come up fine! Still can't get clean URL's to work, though, in spite of trying all the fixes I found here...
Multisite Drupal, Joomla all working fine at Godaddy
I have 3 Drupal and 4 Joomla sites running on my Premium shared Godaddy account (On Linux).
I also installed them all from their installer (Now "Go Daddy Hosting Connection").
I'm assuming anyone wanting to instal Drupal in a subdirectory will have noticed that the installer asks if to install in the site root or a subdirectory (http://mydomain.com/drupal).
RewriteBase / should be uncommented if using a directory.
I'm having no problems at all.