Page 1 of 3

Domain names and sub-domain names work intermittently.

Posted: Thu Feb 27, 2014 1:17 am
by AFN
I noticed that domain names and sub-domain names work intermittently, how can this be fixed? I can access name.tld and come back six minuets later and name.tld gives me this error "Server not found", same exact thing with sub-domain names or access name.tld or sub-domain names and see this error "Server not found" and come back six minuets later and access the site.

Re: Domain names and sub-domain names work intermittently.

Posted: Fri Mar 07, 2014 5:27 pm
by imperio
Hello, what operating system are you using ?
what templates for apache and nginx a you using ?

show me the apache and nginx error logs

Re: Domain names and sub-domain names work intermittently.

Posted: Fri Mar 07, 2014 8:33 pm
by nightstryke
I'd like to know how to setup subdomains, it isn't listed in the documentation.

Re: Domain names and sub-domain names work intermittently.

Posted: Fri Mar 07, 2014 10:32 pm
by AFN
imperio wrote:Hello, what operating system are you using ?
what templates for apache and nginx a you using ?

show me the apache and nginx error logs
In the control page under services it says the following:
* nginx
* centos-6-x86_64
* I don't know how to access the error longs.

Re: Domain names and sub-domain names work intermittently.

Posted: Fri Mar 07, 2014 10:38 pm
by AFN
nightstryke wrote:I'd like to know how to setup subdomains, it isn't listed in the documentation.
If you are logged in as an admin:
Login > click on "Web" > click on "add web domain" > in that box that says "domain" enter the domain name like demo.afn1.com > press "Add".

If you are logged in as a user >
Login > click on "add web domain" > in that box that says "domain" enter the domain name like demo.afn1.com > press "Add".

Re: Domain names and sub-domain names work intermittently.

Posted: Sun Mar 09, 2014 12:14 pm
by imperio
AFN,
apache error logs

Code: Select all

/var/log/httpd/error_log
/var/log/httpd/domains/$domain.error.log
nginx error logs

Code: Select all

/var/log/nginx/error.log
/var/log/httpd/domains/$domain.error.log

Re: Domain names and sub-domain names work intermittently.

Posted: Sun Mar 09, 2014 6:39 pm
by AFN
imperio wrote:AFN,
apache error logs

Code: Select all

/var/log/httpd/error_log
/var/log/httpd/domains/$domain.error.log
nginx error logs

Code: Select all

/var/log/nginx/error.log
/var/log/httpd/domains/$domain.error.log
I do not know how to find them. I think I use PuTTY,l but when I use PuTTY by entering the codes in above I get this error "Permission denied", so I don't know how to access them.

Re: Domain names and sub-domain names work intermittently.

Posted: Sun Mar 23, 2014 8:17 pm
by imperio
I do not know how to find them
You can use ftp client with sftp
for example : filezilla, winscp

host: server_ip
login: root
password: root password
port: 22 (you need to specify)

Re: Domain names and sub-domain names work intermittently.

Posted: Thu Mar 27, 2014 2:49 am
by AFN
YEA!! I found the error logs and I have uploaded them to http://my.afn.me/afn1/httpd

I also discovered another issues is that I cannot send e-mails, I get this error "Mail delivery failed: returning message to sender" and it says host afn.me [198.91.81.4]: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)" so I don't know what that means or how to fix that ether.
imperio wrote:
I do not know how to find them
You can use ftp client with sftp
for example : filezilla, winscp

host: server_ip
login: root
password: root password
port: 22 (you need to specify)

Re: Domain names and sub-domain names work intermittently.

Posted: Fri Mar 28, 2014 8:52 pm
by imperio
550 Access denied - Invalid HELO name
Check your server hostname it should be resolved in DNS and have PTR record