I'm trying to upload two Laravel projects connected to the same database on the CPanel, the two URLs worked perfectly on the browser but both of them display only one project for the two routs. I have written the same user and password of the database to both projects I didn't know what is the problem...
Asked
Active
Viewed 186 times
0
-
you have to post codes. or errors. – hasan05 Feb 03 '20 at 08:52
-
1are they on same url? example, `first.yourdomain.com` and then `second.yourdomain.com`? or??? – hasan05 Feb 03 '20 at 08:54
-
yes the same @hasan05 – hala Feb 03 '20 at 09:12
-
you mean, you have to project. and one url like `yourdomain.com`. and you want to run both project on that? – hasan05 Feb 03 '20 at 09:14
-
1yes they are exactly like first.yourdomain.com and second.yourdomain.com each url should display different project @hasan05 – hala Feb 03 '20 at 09:16
-
did you checked your cpanel subdomains file path? are they okay as you wants? – hasan05 Feb 03 '20 at 09:18
-
yes, I have only one subdomain, the other one is the main domain @hasan05 – hala Feb 03 '20 at 09:20
-
If your subdomains document is on proper folder direction then, may be the problem is on htaccess. – hasan05 Feb 03 '20 at 09:25
-
what about the htaccess? @hasan05 – hala Feb 03 '20 at 09:26
-
If you create subdomain, then, htaccess should be updated. better you check your `subdomain` and `document root` from subdomain portion. by the way, this problem is not laravel issue, it is cpanel issue. – hasan05 Feb 03 '20 at 09:29
-
okay, I have no idea what should I do, but thank you anyway @hasan05 – hala Feb 03 '20 at 09:34