Set the domain name as the IP

Does anyone know how to apply your domain name as the IP address to connect to your server?

Change your DNS of the domain.

Make a “A” record and point it toward the IP of your server.

Thank you! (F@&* 20 charachers)

@MLGPlasmaScope Your welcome.

wut20chars

and what for the port? no need for an srv ?

what?

just use an a record then connect to your server using this:

domain.com:portnumber

So, I have connected the servers and stuff, but I have 3 servers. When I type in the one domain for the one development server, it takes me to the main server. What do I do?

Are they all running on the same ip using different ports? Then just type domain.com:port

1 Like

So, I can’t have it connect to server.sadojrp.net or dev.sadojrp.net without any port?

Use a SRV record.

1 Like

I tried that and it still didn’t work.

1 Like

https://gyazo.com/bed059ca64fcee2e62dcf26585de4ae8

https://gyazo.com/4d1d68764225c611433bef1fbee4b210

You just need to point a A record to the IP and connect to the IP, no port required.
Be sure not to be using Cloudflare.

1 Like

That’s wrong. As documented…

… you need to have a record for _cfx._udp.[target host].

2 Likes

Wrong?
I have an A record pointing to the server and it’s working just fine LOL

Not if you want to auto-fill a different port, also this reply wasn’t meant for you, as you could see by the reply icon on the top right.

1 Like

How do you point a A record to the IP?

can you have a proxied connection between client and server on cloudflare’s free tier? (as to hide origin IP)

No, you can’t have a proxied connection between client and server on cloudflare.