Got My Sub Domain Installed Site Brings Up A "page Not Found"

So thanks to some members on here I was able to get my sub domain installed on my site.

But now that its installed when I click on the link for the admin and customer end, they both go to a “Page not found”.



The directory that the install files are in is names “sub.manuals”

I made a new DB and Username for the sub domain.

the sub domain name is suppose to be www.manuals.harpermoto.com



But again when I go to that page, its not found.



So now what am I doing wrong to get this sub domain to work?

Check that you have the url settings correct in /config.local.php.

[quote name='The Tool' timestamp='1391125039' post='176424']

Check that you have the url settings correct in /config.local.php.

[/quote]



Well i checked that already and everything seems to be fine and set properly. I compared it to my main config file and everything seems to be the same.



Says the URL link is this:



$config['http_host'] = 'manuals.harpermoto.com';

$config['http_path'] = '';



Which is what I've been using.







Just seems like one thing gets fixed and 2 more things go bad.



My 404_page wont even look at my my_styles file anymore,

Please check also database table cscart_companies, update also rows [color=#ff0000]storefront [/color]and [color=#ff0000]secure_storefront[/color] you need also to add manuals.harpermoto.com for active store



I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

[quote name='Vali' timestamp='1391186625' post='176493']

Please check also database table cscart_companies, update also rows [color=#ff0000]storefront [/color]and [color=#ff0000]secure_storefront[/color] you need also to add manuals.harpermoto.com for active store



I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

[/quote]



Okay I checked the table cscart_companies under both my main DB and the sub domain DB. what am I suppose to look for?

They both have the same thing in there. ACME Corp



// Host and directory where software is installed on no-secure server

$config['http_host'] = 'manuals.harpermoto.com';

$config['http_path'] = '';



// Host and directory where software is installed on secure server

$config['https_host'] = 'manuals.harpermoto.com';

$config['https_path'] = '';



I don't know where else your talking about this [color=#FF0000][font=arial, verdana, tahoma, sans-serif]storefront [/font][/color][color=#282828][font=arial, verdana, tahoma, sans-serif]and [/font][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]secure_storefront.[/font][/color]





I've created sub domains before and have always worked just fine.

Just cant believe this one is such a challenge

Go to your your admin panel, then Administration>Stores and enter your details

[quote name='Struck' timestamp='1391190807' post='176497']

Go to your your admin panel, then Administration>Stores and enter your details

[/quote]



He can't access admin because of incorrect urls.




[quote]Okay I checked the table cscart_companies under both my main DB and the sub domain DB. what am I suppose to look for?[/quote]



In the table cscart_companies, there are fields of storefront and secure_storefront. Make sure you have the correct url's in each.

Okay this doesn't make any since. Why do I have to go change all this info just to get a sub domain to work?

I've never changed stuff like this before and have had sub domains work just fine with cs-cart.



And when I go to the admin>store access it just says IP, DOMAIN, EMAIL, CREDIT CARD, ADMINISTRATOR PANEL

[quote name='harpersmoto' timestamp='1391193275' post='176501']

Okay this doesn't make any since. Why do I have to go change all this info just to get a sub domain to work?

I've never changed stuff like this before and have had sub domains work just fine with cs-cart.

[/quote]



Those of us who use single stores have to deal with the BS of multiple stores since CSC decided to integrate them both into 1 package.



Edit: It works fine unless you go and install on one domain and then change the domain like you did.

Tried in ADMIN administration/Stores? not store access

I don't have administration>stores.

I cant even get to the front page or admin page of “manuals.harpermoto.com”, just says oops, cant open this page.

I don't even have a Admin>store under my main site “www.harpermoto.com



I went to the [color=#282828][font=arial, verdana, tahoma, sans-serif]cscart_companies and added those URL's in there under the fields you guys said. [/font][/color][font=arial, verdana, tahoma, sans-serif][color=#282828]Still isn't working right.[/color][/font]



[color=#282828][font=arial, verdana, tahoma, sans-serif]Sorry for being such a hassle, I just cant figure out why this isn't working.[/font][/color]

Should be administration/Stores tab.

Can you get in the old admin area?

Here is a screen shot of my admin panel for my main site harpermoto.com

I cant get into the admin panel or customer end of the website manuals.harpermoto.com

adminscreenshot1.jpg

I guess it looks like you are using an older version of the cart. I was looking at 4.1.2

[quote name='zeero6' timestamp='1391196222' post='176512']

I guess it looks like you are using an older version of the cart. I was looking at 4.1.2

[/quote]



Yea im using 3.0.3.



Im not going to go to v4 right now

Maybe it has to do with htacess file

Here's what the .htaccess page looks like on the sub domain.




```php

DirectoryIndex index.html index.php



RewriteEngine on

Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



```

Why don't your start from scratch and reinstall it? And don't change domain names after you do install it.

Ive done that like 3 times. and what do you mean change domain names?

I havent changed any domain names?



www.harpermoto.com is our main website that has been for years.

Im trying to make a subdomain for downloadable manuals called manuals.harpermoto.com



I created the sub domain in our hosting account,

Subdomain= manuals Root domain= .harpermoto.com Document root=public_html/sub.manuals redirect=not redirected



Downloaded the install fire in the document root, changed permissions on the folders that needed to be changed. and installed the sub domain at www.harpermoto.com/sub.manuals/install

sub.manuals and manuals are 2 different names. Actually I wouldn't recommend naming a file/folder with “.” in it.