I
I
Igor Mamontov2015-11-08 21:57:58
Domain name market
Igor Mamontov, 2015-11-08 21:57:58

How to open access to the site from www?

2 domains *.su and *.rf were purchased for the site, but access to the site is possible only at http://*****.su/.rf
How to set up access to the site from www?
nic.ru domain registrar

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Goryachev, 2015-11-08
@webirus

The registrar is not important if DNS was changed to hoster records.
Using my domain as an example, I will write what needs to be done in the domain control panel, DNS editor.

site.ru.	3600	A (адрес Internet v4)	5.45.124.164
www.site.ru.	3600	A (адрес Internet v4)	5.45.124.164

In fact, you need to create a www subdomain and send to the same IP as the main domain.

A
Alexander, 2015-11-08
@zkelo

Add to .htaccess:
RewriteCond %{HTTP_HOST} ^www\.site\.su$ [NC]
RewriteRule ^(.*)$ site.su/$1 [R=301,L]

L
LESHIY_ODESSA, 2015-11-08
@LESHIY_ODESSA

Everything is very simple. At the domain registrar, on its NS server or on those NS servers where you transferred, make a CNAME record (redirect) or an “A” record . What is the difference, google it.
For example like this:
KXLg9zc.pnggs65.gifdomain.pngkb-Hosted-DNS-HELM-001.gif

D
Dmitry, 2015-11-09
@mytmid

1. You go to the control panel. hosting.nic.ru
2. Further in the menu: Web server -> Sites
3. In the table with the list of sites in the column " synonyms " there is a blue arrow to the right. Click on her.
4. Next, in the New synonym field, enter www.sitename.ru and click Create

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question