Avatar of BHForum
 asked on

DNS Records (Cname and A)

I am helping to run a minecraft server. All minecraft ports go to a specific IP address. All others mail, www, etc should go to another IP address that hosts the website. I want to direct all web traffic to the forums site instead of the minecraft server itself.


Minecraft server
Handling ports 25565, 1, and 1337 for servername.com

Web Server
Handling web services for servername.com

Right now, requests going to servername.com go to I would like http traffic bound for servername.com and forums.servername.com to hit

I believe this should be done using CNAME records. What is the best way to handle these pointers to redirect traffic correctly?
DNSInternet Protocols

Avatar of undefined
Last Comment

8/22/2022 - Mon

A record is when you want to resolve Name to IP and CNAME are for having multiple names for a single IP:


server.domain.com = = A
server-b.same domain.com =  = CNAME

Also as you mentioned servername.com is not possible it should be servername.domain.com as A and forums.domain.com as CNAME both to

you need to create a A record which points to and a CName record which is forums.domain.com.

Also, if the traffic is coming to the server which then on your router you need to redirect traffic to server ip with a port specified on it.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Suliman Abu Kharroub

You can use the http redirect feture in IIS ( if you use IIS ) to redirect traffic to another server, it will redirect the url ( so ports are included(.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

Hmmm...I'd rather not install IIS on that server if not necessary. I have to look into this further. The web site has a lot of functionality, I'm wondering if I need to point everything to the website, and then redirect anything that isn't port 80 or port 8080 to the other server. I have to do some investigation.

I believe this explains the situation clearly. We may need to prefix the domain to run it out to the proper address.