R
R
rinaz222020-06-25 09:52:53
open server
rinaz22, 2020-06-25 09:52:53

How to set up an alias to open a non-existent subdomain in OpenServer?

Hello. It is necessary that when I open a non-existent subdomain, the main domain opens, although the url should not change (that is, it should remain as a subdomain). I tried to add an alias in the OpenServer settings like *.site.ru, but it did not help, the error "Unable to access the site" appears. What else needs to be configured for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-06-25
@dimonchik2013

also DNS (like hosts, but hosts + wildcard xs how to set up , raise the local DNS) first of all
and the webserver to support you
decide with the DNS - the rest will be decided

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question