Domain Strategy
LarVPS manages extra domains from the site UI so you do not have to hand-edit vhosts.
Open Site Settings, then use Manage Domains.
The three domain roles
Section titled “The three domain roles”Primary site
Section titled “Primary site”This is the main domain of the application.
Examples:
example.comshop.example.com
Use this when another hostname should open the same app and same content.
Good examples:
www.example.comshould open the same site asexample.comapp.example.comshould show the same product UI as the primary domain
301 Redirect
Section titled “301 Redirect”Use this when an older or alternate domain should forward users to the main domain.
Good examples:
- an old brand domain you bought for SEO or migration
- a misspelling or defensive brand domain
When to use which
Section titled “When to use which”| Goal | Choose |
|---|---|
www should open the same site | Alias |
| extra campaign domain should fully forward to the main domain | 301 Redirect |
| main app hostname | Primary site |
What the UI helps you avoid
Section titled “What the UI helps you avoid”LarVPS prevents common mistakes such as:
- adding the primary domain as its own alias
- reusing a domain that already belongs to another site on the same server
- mixing up “serve the same app” and “redirect away”
SSL and domains
Section titled “SSL and domains”If you add a new alias or redirect domain, that hostname still needs correct DNS and may need SSL attention afterward.
LarVPS will keep the next action visible from the site instead of making you guess.
Operator responsibility
Section titled “Operator responsibility”LarVPS helps configure the domain strategy, but you still decide:
- whether a domain should serve content or redirect
- whether an existing DNS record is safe to change
- whether an SEO migration should use a shared app or a clean 301 redirect