2 ms·
That usually won't work. If a site uses SNI and has many sites behind a single IP (like cloudflare, for example), the server won't know which host's content to
by cortesoft 4y ago
That usually won't work. If a site uses SNI and has many sites behind a single IP (like cloudflare, for example), the server won't know which host's content to respond with.
If it isn't a shared IP, your own browser will block it because of a cert mismatch.
The best way to do this is to update your own /etc/hosts file to point the domain at the correct IP.