Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have ISpConfig 3. I have an ip address "xxx.xxx.xxx.xxx". I want to configure this to point to http://www.my.mydomain.com

I have created DNS record and configured "xxx.xxx.xxx.xxx". and domain name my.mydomain.com

Problem is that my.mydomain.com is accessible through only my.mydomain.com or through http://my.mydomain.com only. i want that it should also be accessible through www.my.mydomain.com

Someone told me that i should have to create CNAME and A record for this domain. i have following Zone Record Configurations but this is not working. Please help me what i am doing wrong and what exactly should be CNAME and A configuration to work it with www.my.mydomain.com


In adding DNS zone. i just added my.mydomain.com with IP xxx.xxx.xxx.xxx so my.mydomain.com is not normal subdomain

enter image description here

share|improve this question

closed as off-topic by HopelessN00b Mar 8 at 20:51

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 4 down vote accepted

You forgot the ending dot (.). All FCDNs have to end with one, so also your MX should be:


// Edit: Forgot to mention. If you'd like to use it as a normal subdomain, you'd go good with creating it as a normal domain (like you added mydomain.com).

That's something I'm not that happy with how ISPConfig solves it...

So in general, your DNS should look something like:

  1. A mydomain.com. xxx.xxx.xxx.xxx
  2. A www xxx.xxx.xxx.xxx
  3. MX mydomain.com. mail.mydomain.com
  4. NS mydomain.com. ns1.server.com
  5. NS mydomain.com. ns2.server.com

(that would be for the "root" domain).

Now you would just have to add:

  1. A my xxx.xxx.xxx.xxx
  2. A www.my xxx.xxx.xxx.xxx

If you'd like to point my.domain.com to another domain, than CNAME would be the right choice, for example:

CNAME my www.google.com.

Not sure if I understood the question correct, but this my help!

share|improve this answer
this did not worked. i dnt know what i am missing –  Asghar Jul 2 '12 at 9:48
So how did you add the domain mydomain.com? With the DNS wizard or by hand? After that, did you add my as a subdomain? Or you did only add the DNS? And do you wan't it to behave like a subdomain or just a "pointer"? –  MaddinXx Jul 2 '12 at 10:58

You can just a add a CNAME. A CNAME points to another DNS name.

So you can add:

CNAME www.my.domain.com   my.domain.com

So now www.my.domain.com points to my.domain.com who points to x.x.x.x

my.domain.com must exist and point to either an A record or another CNAME.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.