Frappe-Manager icon indicating copy to clipboard operation
Frappe-Manager copied to clipboard

Creation of website with any Fully Qualified Domain Name (FQDN).

Open Xieyt opened this issue 2 years ago • 1 comments

Description Presently, with the fm, users are limited to creating sites that function as subdomains of localhost. Consequently, when such sites are deployed on a server and accessed via domain names mapped in the hosts file, they remain inaccessible from other computers. This issue arises because the mapping of subdomains of localhost to either public or private IP addresses encounters functionality challenges.

To address this limitation, fm should not restrict sitename to subdomain of localhost only, then users will need to manually perform hosts file mappings for sites that are not subdomains of localhost. To streamline this process, a command such as fm hosts sync can be implemented to facilitate hosts file synchronization for these scenarios.

Use Case To use fm in servers.

Expected Behavior curl <sitename> and the site should be accessible. OK

Related Issues/Pull Requests #84

### Tasks
- [ ] https://github.com/rtCamp/Frappe-Manager/pull/117
- [ ] Add `fm self update hosts` to sync hosts file with the current list of sites.

Xieyt avatar Feb 14 '24 12:02 Xieyt

FQDN support is implemented in #117. Currently user will have to map the domain in hosts file.

Xieyt avatar Feb 27 '24 14:02 Xieyt