Browser-sync: How to use subdomains?

Created on 30 Jan 2015  路  3Comments  路  Source: BrowserSync/browser-sync

Is there a way I can setup subdomains with browse-sync. I'd like to point subdomain.devbox.dev -> localhost

Is this possible?

Most helpful comment

Hi @shakyShane

I know that it is possible to setup to subdomains as you pointed above. I'm just wondering if for example my project has many subdomain for example blog.example.dev, www.example.dev, admin.example.dev and so on. If I edit something is it possible to reload for any subdomains? Or maybe if I edit something in asset/admin, then it reload the admin.example.dev?

All 3 comments

Subdomains are supported, yes.

$ browser-sync start --proxy subdomain.devbox.dev

Hi @shakyShane

I know that it is possible to setup to subdomains as you pointed above. I'm just wondering if for example my project has many subdomain for example blog.example.dev, www.example.dev, admin.example.dev and so on. If I edit something is it possible to reload for any subdomains? Or maybe if I edit something in asset/admin, then it reload the admin.example.dev?

@kevintanjung Did you work that out?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ronilaukkarinen picture ronilaukkarinen  路  4Comments

sedubois picture sedubois  路  3Comments

w88975 picture w88975  路  3Comments

Hurtak picture Hurtak  路  3Comments

adjavaherian picture adjavaherian  路  4Comments