Link to home
Start Free TrialLog in
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

Web Server
Handling web services for

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

I believe this should be done using CNAME records. What is the best way to handle these pointers to redirect traffic correctly?
Avatar of Bawer
Flag of Afghanistan image

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

EX: = = A
server-b.same =  = CNAME

Also as you mentioned is not possible it should be as A and as CNAME both to
you need to create a A record which points to and a CName record which is

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.
Avatar of tonyperth
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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(.
Avatar of BHForum


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.
Avatar of BHForum


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