Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Subdomain installation issues
Okay, I'm just gonna compile this to one thread on its own as I'm driving myself bonkers trying to fix this.
I am wanting to install MAS to my subdomain, messengers.godspack.com. I am using Godaddy and paying for my hosting. Database is setup, install SEEMS to go fine. Here's my config file: <?php //Mysidia Adoptables Site Configuration File define('DBHOST', 'messengersadopt.db.12382978.hostedresource.com'); //DB Hostname define('DBUSER', 'messengersadopt'); //DB Username define('DBPASS', '****!'); //DB Password define('DBNAME', 'messengersadopt'); //Your database name define('DOMAIN', 'godspack.com'); //Your domain name (No http, www or . ) define('SCRIPTPATH', '/messengers'); //The folder you installed this script in define('PREFIX', 'adopts_'); ?> This is what the site looks like when accessed through messengers.godspack.com: (image) -Looks wrong but has correct URL -I can't log in here, it just loops back to messengers.godspack.com/login and never actually logs in. And this is what it looks like when accessed through godspack.com/messengers (which is where the directory for the subdomain is): (image) -Looks right but has wrong URL -Can't log in here either, as it just redirects to a 404 page with the url of godspack.com/messengers/login I was up until 3am trying to fix this but no combination of different specificed domains and paths seems to produce the correct results. Last edited by svmajesie; 07-21-2014 at 10:05 PM. Reason: censor |
#2
|
||||
|
||||
I had a big problem with my .htaccess of all things, and it did the same thing.
Make a new file and add JUST this to it. You want this in your main dir where the pet site is loaded. If you can name the file .htaccess its good, if not see if you can name it htaccess. good luck! RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !\.(js|css|gif|jpg|png|ico)$ [NC] RewriteRule ^(.*)$ index.php [QSA,L] RewriteRule ^get/([0-9]+).gif$ /click/siggy/$1 [L] |
#3
|
||||
|
||||
Well if you have a subdomain, treat it as a domain. The scriptpath part should be left blank instead unless it's in a directory of your subdomain.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPage installation issues | SoubisSacrifice | Questions and Supports | 11 | 01-23-2015 06:36 PM |
Install to a subdomain? | GoldMiner | Questions and Supports | 7 | 07-21-2014 10:48 AM |
Oh look more issues | Abronsyth | Questions and Supports | 2 | 10-20-2011 07:35 AM |
WildCard subdomain | overtux | Webmasters Area | 10 | 12-03-2010 01:24 AM |
2 Issues | Breakdown | Questions and Supports | 8 | 03-01-2009 03:48 PM |
What's New? |
What's Hot? |
What's Popular? |