S
S
Sergey Evdarov2016-03-06 12:18:34
Network administration
Sergey Evdarov, 2016-03-06 12:18:34

How to set the test.test.ru subdomain to the site with ip 1.2.3.4/tspc where the site is located?

Hello dear experts.
I have hosting on TimeWeb (with a domain for example: test.ru) and I also have a server on CentOS under my feet that has a stat
. : test.test.ru and I want it to lead here: 1.2.3.4/tspc how to do it????
The hoster created an A record on the desired IP, but you can’t specify a subfolder in the A record, only IP.
Maybe this is somehow implemented by redirecting on the server? or CNAME or TXT records of DNS at a hoster???

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-03-06
@gangstarcj

You just need to set up VirtualHost in Apache
https://www.digitalocean.com/community/tutorials/a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question