H
H
HappyCougar2015-07-16 13:04:43
Domain Name System
HappyCougar, 2015-07-16 13:04:43

Redirect via dns?

There is a website, let's call it simple.php. It has a shop.simple.ru subdomain, it should have a redirect to the main resource because of the entry:
shop.simple.ru.
CNAME
simple.ru (value)
But the redirect does not occur, simple.ru is opened to shop.simple.ru. What is the problem, in the guides they write that CNAME should be enough?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mureevms, 2015-07-16
@HappyCougar

That's right, CNAME is an alias, i.e. second\alternative resource name. This is how it should happen.
The redirect must be done at the level of the web server, or whatever you have.

V
Viktor Taran, 2017-04-26
@shambler81

A CNAME (Canonical Name) record allows you to assign mnemonic names to a host. Mnemonic names, or aliases, are widely used to associate a function with a host, or simply to shorten a name.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question