Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th August 2009, 07:27
rodiguim rodiguim is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Subdomain + newsite = default page& mail = junkbox

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 3.0.1.3

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 admin@mydomain.com 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 admin@mydomain.com designates 90.111.***.11 as permitted sender) smtp.mail=admin@mydomain.com

Thanks for the wonderful work and for the support.
Reply With Quote
Sponsored Links
  #2  
Old 4th August 2009, 08:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

This is the correct procedure. Please be aware that it takes up to 48 hours until changes in dns records get propagated.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th August 2009, 06:56
rodiguim rodiguim is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subdomain + newsite = default page& mail = junkbox

Quote:
Originally Posted by till View Post
This is the correct procedure. Please be aware that it takes up to 48 hours until changes in dns records get propagated.
Thanks for the reply,

I have waited propagate and still nothing when I go to sub.mydomain.com it takes me to the default page which is mydomain.com.

Is there anything I can do?
Reply With Quote
  #4  
Old 6th August 2009, 09:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

And you area really sure that you created sub.mydomain.com as sepaerate domain in ispconfig and not as subdomain?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th August 2009, 09:49
rodiguim rodiguim is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subdomain + newsite = default page& mail = junkbox

Quote:
Originally Posted by till View Post
And you area really sure that you created sub.mydomain.com as sepaerate domain in ispconfig and not as subdomain?
what do you mean? I created a A-record on mydomain.com sub.mydomain.com pointing to it's IP?

Do I have to create like if it was a new domain? add ns1 and ns2 etc like a normal domain?
Reply With Quote
  #6  
Old 6th August 2009, 11:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Quote:
what do you mean? I created a A-record on mydomain.com sub.mydomain.com pointing to it's IP?
Thats ok. But you have to create also a new website for it and not just a dns record or subdomain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th August 2009, 13:06
rodiguim rodiguim is offline
Junior Member
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Subdomain + newsite = default page& mail = junkbox

Quote:
Originally Posted by till View Post
Thats ok. But you have to create also a new website for it and not just a dns record or subdomain.
That's what I've done it before A-record for sub.mydomain.com + new website with sub.mydomain.com and it didn't work
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CGI and FormMail Cracklefish Installation/Configuration 17 13th October 2009 13:40
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16


All times are GMT +2. The time now is 03:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.