Hi.
Have developed in my local machine which is windows and am using Xampp(C:/xampp/htdocs/SelfCarePortal)
To add several sites (domains, subdomains) to XAMPP you should configure XAMPP Virtualhost. Google this subjects.
Some tips:
Even when working on a localhost for folders of sites, you should use the names of the domain type:
Main domain - instead of SelfCarePortal should be used selfcareportal.loc
Subdomain - instead of MySelfCarePortal should be used my.selfcareportal.loc
This will avoid a confusion, correctly set up links and see the structure.
The use of Localhost like XAMPP and similar is more suitable for an experienced user, but not a beginner. It is better to develop a site at a real hosting. This will save you from a headache when setting up a server and will allow you to develop a site in a correctly configured environment.
If your Localhost was incorrectly configured, then in the future, when transferring the site to real hosting, you may have problems.
And when developing a site at a real hosting, you can always provide a link to get community help. When working on Localhost, this is not possible.
I would suggest you transfer your projects to real hosting, and then come back here if your problem does not disappear.
Statistics: Posted by Pavel-ww — Fri May 03, 2024 9:00 am