Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default domain suffix from ".lndo.site" to ".lando" #3661

Open
BrandonWeigand opened this issue Feb 7, 2024 · 1 comment
Open

Change default domain suffix from ".lndo.site" to ".lando" #3661

BrandonWeigand opened this issue Feb 7, 2024 · 1 comment
Labels
feature Requesting that Lando do something new

Comments

@BrandonWeigand
Copy link

The change of the default domain suffix from ".lndo.site" to ".lando" would bring multiple quality of life improvements to developers.
For backwards compatibility, you could just add ".lando" to the default list of supported domain suffixes.

Having a multipart domain suffix causes issues with .htaccess and local DNS rules for sites with advanced configuration.
Special rules need to be written in .htaccess and local domain forwarders.
Because the suffix is two parts instead of one, it means separate rules need to be written when creating multi-site locals for Drupal and WordPress.
Selecting the domain by regular expression should be able to match any site. Including subdomain and subside locals while also being able to target the lando local.
example:
sub-site.foo.example.com/path
sub-site.example.org/path
example.gov/sub-site
foo.example.biz/sub-site
&
sub-site.foo.example.lndo.site/path
sub-site.example.lndo.site/path
example.lndo.site/sub-site
foo.example.lndo.site/sub-site

The same regular expression should be able to match all of these domains, but cannot due to the multipart suffix.

2nd) ".lndo.site" is "lando" spelled incorrectly. I'm sure there are other reasons, but removing 1 letter to shorten the text doesn't seem like a good enough reason to cause confusion among developers trying to pick up lando.

@BrandonWeigand BrandonWeigand added the feature Requesting that Lando do something new label Feb 7, 2024
@reynoldsalec
Copy link
Sponsor Member

reynoldsalec commented Feb 8, 2024

.lndo.site is an actual domain that redirects to your localhost. .lando doesn't exist as a top level domain, so the same process wouldn't be possible... IE mysite.lando isn't a domain you can buy.

.lndo.site was acquired because all the lando.* (ex: lando.com) domains were already taken...even purchasing lando.site would cost thousands of dollars.

@BrandonWeigand I think you could bypass the issue you're describing by editing your /etc/hosts file to link your Lando site to a domain of your choosing...basically you'd be superseding any DNS instructions from the internet, so you could call your Lando site google.com...see https://docs.lando.dev/core/v3/proxy.html#working-offline-or-using-custom-domains for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Requesting that Lando do something new
Projects
None yet
Development

No branches or pull requests

2 participants