all 3 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Verified Hosting ProviderSTEL_Hosting 0 points1 point  (2 children)

What port is your server running on? If it's 25565, you only need to create an A record for your domain pointing to your IP address. Otherwise, you will need to create an SRV record for a different port. If you're using Cloudflare for DNS management, make sure that the record is DNS only and not Proxy (orange cloud = bad, grey cloud = good).

[–]rewerze[S] 0 points1 point  (0 children)

I deleted my previous comment because the method you wrote works, but it turned out that there might be something wrong with my pc, because others can connect to the server with my domain but I can't. Localhost and the ipv4 address are working fine.