Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - JackieDo

Pages: [1]
1
How to / How to add sub-domain manually without using module add subdomain?
« on: November 08, 2017, 06:54:14 AM »
When we finished add sub-domain throught menu Domain/Add Sub Domain successfully, I saw that there are 4 changes on the server:

1. Apache vHosts file (at /usr/local/apache/conf.d/vhosts.conf).
There are some lines added to configure for recent sub-domain. These line are append automatically from vHosts Template file.

2. DNS zone file of main domain.
Our DNS zone file of main domain is appended with one line. Ex: subdomain1 1800 IN A x.x.x.x ; #subdomain subdomain1

3. Database of CWP
One record is inserted into table subdomains of database root_cwp

4. One folder is created in our server
There is one directory is created with path that we provide in add sub domain form

But now, I want to add sub-domain manually without using module add subdomain of CWP. I do this job with 4 step similar to 4 things I noticed above:

1. Add nessary lines to Apache vHosts file
2. Add one record A to main domain zone file
3. Add one record to table subdomains in database
4. Create one directory with conformed path in Apache vHost file

But I can't access my sub-domain. When I access sub-domain through web browser, I noticed that DNS not found for this sub-domain. What is problem with my job?

Is there anybody can help me?

2
In setup and use CWP 0.9.8.10.

After setup and config everything. I created user sachvare (and domain is sachvare.com). Everything seem OK. Then I created mail box mail-system@sachvare.com. But when use roundcube, I can not send or received any email. All email always in queue.



I checked maillog and see:

Quote
Nov 27 06:35:06 srv1 postfix/smtpd[4303]: connect from srv1.vtechweb.com[127.0.0.1]
Nov 27 06:35:06 srv1 postfix/smtpd[4303]: 0C68E154061B: client=srv1.vtechweb.com[127.0.0.1], sasl_method=LOGIN, sasl_username=mail-system@sachvare.com
Nov 27 06:35:06 srv1 postfix/cleanup[4310]: 0C68E154061B: message-id=<9110b80f5a8044ea06a5deac9ae26059@sachvare.com>
Nov 27 06:35:06 srv1 opendkim[1340]: 0C68E154061B: DKIM-Signature field added (s=default, d=sachvare.com)
Nov 27 06:35:06 srv1 postfix/qmgr[1576]: 0C68E154061B: from=<mail-system@sachvare.com>, size=617, nrcpt=1 (queue active)
Nov 27 06:35:06 srv1 postfix/smtp[4311]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Nov 27 06:35:06 srv1 postfix/smtp[4311]: 0C68E154061B: to=<anhvudo@gmail.com>, relay=none, delay=0.18, delays=0.12/0.06/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Nov 27 06:35:06 srv1 postfix/smtpd[4303]: disconnect from srv1.vtechweb.com[127.0.0.1]

What is happened? Please help me

Pages: [1]