Hello there, I've checked as many posts as possible regarding subdomain and new web pages which uses a different directory for the new site. So I have added a A-Record for sub.mydomain.com pointing to it's IP address and created a new website also pointing to the same IP but when browsing I get to the default page which is mydomain.com and not to sub.mydomain.com. Please what is the correct procedure for that? I am using Debian Lenny 5.0 with ISPConfig 22.214.171.124 Another thing is mail issues with gmail, when I send mail to gmail for example the mail goes straight to the junk box and not to the inbox as it should so I will put the config here and if anyone could help I would appreciate it Please check the following DNS Conf. A mydomain.com. 90.111.***.11 0 A ftp 90.111.***.11 0 A mail 90.111.***.11 0 A ns1 90.111.***.11 0 A ns2 90.111.***.11 0 A server1 90.111.***.11 0 A sub 90.111.***.11 0 A www 90.111.***.11 0 MX mydomain.com. mail.mydomain.com. 10 MX mydomain.com. server1.mydomain.com. 10 NS mydomain.com. ns1.mydomain.com. 0 NS mydomain.com. ns2.mydomain.com. 0 TXT mydomain.com. "v=spf1 ip4:90.111.***.11/24 a mx a:server1.mydomain.com mx:mail.mydomain.com ~all" 0 TXT mail.mydomain.com. "v=spf1 a -all" 0 TXT server1.mydomain.com. "v=spf1 a -all" 0 Please check the gmail output following. Received: from server1.mydomain.com (server1.mydomain.com [90.111.***.11]) by mx.google.com with ESMTP id 4si6502113ewy.36.2009.08.01.22.16.15; Sat, 01 Aug 2009 22:16:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 90.111.***.11 as permitted sender) client-ip=90.111.***.11; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of [email protected] designates 90.111.***.11 as permitted sender) smtp.mail=[email protected] Thanks for the wonderful work and for the support.