A
A
artursaliy2015-10-09 14:08:09
Apache HTTP Server
artursaliy, 2015-10-09 14:08:09

How to make domains point to VDS with Ubuntu?

Hello.
There is a VDS on vscale.io with Ubuntu.
If you enter the ip-address of the server in the browser, then everything is ok. And if you enter the issued subdomain xxx.vscale.io, then Chrome issues ERR_NAME_NOT_RESOLVED.
How to set up the server so that all domains in which the A-record points to my IP work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2015-10-09
@martin74ua

<VirtualHost vscale.io:80>
 ServerName vscale.io
 ServerAlias *.vscale.io
...

</VirtualHost>

And in dns
* IN A ip-vds-s-ubuntoi
After that, any subdomain will lead to your server, the main site will open
.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question