Vps website with no access to dns (www)

Asked

Viewed 190 times

1

Hello, the situation is as follows I have a VPS only for customers with Vestacp pointed to a domain.

Situation: domain with DNS in the.br record, I have to leave the other records MX, TXT there in the.br record (because it is already configured google service) I just want to redirect the "www" to the.com.br client account that was opened through VESTACP.

I have made the following records in the.br record (advanced mode)

client.com.br VPS IP www.cliente.com.br VPS IP More when I access www.cliente.com.br or.com.br client it directs to my main VPS domain and shows the home page of my VPS.

Note: this also happens in another client domain/account that has DNS in Godaddy.

What’s the big mystery there?  I appreciate all your help.

Hug.

1 answer

0

I don’t know exactly how Vestacp works fully, but I’ve faced that problem. My VPS is running Apache and needed to create a domain name and point DNS to a different folder from the main domain.

I made these settings:

apache2.conf

I’m using Cloudflare’s DNS and I did so: cfg dns

Once this is done, Apache is responsible for directing connections.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.