These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for create example.com & mail.example.com at once on the new forum.
Help me please:
I want 2 apache virtual host created at once: example.com & mail.example.com.
I try using server template. No problem for dns, i can point mail.example.com to my ip, but server template for apache virtual host only allow one virtual host.
So, how to create example.com and mail.example.com all at once ?
Thanks,
A mail DNS record is already created (for use for SMTP and POP3/IMAP, generally, though it's not required, and some folks prefer to use a single domain for all POP3S/IMAPS connections so they can use a single certificate).
So, if you want mail to simply alias to the www.example.com/example.com site, you could just add this line to the Apache website section of the Server Template:
ServerAlias mail.${DOM}
For existing servers, you'd need to add the alias in the Services:Configure Website:Networking and Addresses page in the field labeled "Alternate virtual server names".
You can't use the usual "Create Alias" form, because there already exists a mail.example.com name in the DNS zone (and other places). Other auto-generated addresses are ftp, m, and www.
--
Check out the forum guidelines!
wow, very quick response..
thx.
Sorry Joe, I can't speak english correctly,
I mean like this:
- i have squirrelmail on /usr/share/squirrelmail.
- url for access this webmail: mail.example.com
I think,more easier if i can create example.com & mail.example.com at once using server templates.
<i>Note: for pop3/smtp i'm not using mail.example.com, its only for webmail.</i>
A mail DNS record is already created (for use for SMTP and POP3/IMAP, generally, though it's not required, and some folks prefer to use a single domain for all POP3S/IMAPS connections so they can use a single certificate).
So, if you want mail to simply alias to the www.example.com/example.com site, you could just add this line to the Apache website section of the Server Template:
ServerAlias mail.${DOM}
For existing servers, you'd need to add the alias in the Services:Configure Website:Networking and Addresses page in the field labeled "Alternate virtual server names".
You can't use the usual "Create Alias" form, because there already exists a mail.example.com name in the DNS zone (and other places). Other auto-generated addresses are ftp, m, and www.
--
Check out the forum guidelines!
why not create webmail.example.com and install squirrelmail in there for users to log in?
i think, not easy to upgrade squirrelmail later if i have many clients.
A mail DNS record is already created (for use for SMTP and POP3/IMAP, generally, though it's not required, and some folks prefer to use a single domain for all POP3S/IMAPS connections so they can use a single certificate).
So, if you want mail to simply alias to the www.example.com/example.com site, you could just add this line to the Apache website section of the Server Template:
ServerAlias mail.${DOM}
For existing servers, you'd need to add the alias in the Services:Configure Website:Networking and Addresses page in the field labeled "Alternate virtual server names".
You can't use the usual "Create Alias" form, because there already exists a mail.example.com name in the DNS zone (and other places). Other auto-generated addresses are ftp, m, and www.
--
Check out the forum guidelines!
it seems to me that upgrading a script to a newer version i.e updating should not be influenced by the number of accounts it holds.
Then again I am not familiar with squirrelmail.