500 Internal Server Error (Multiple Domains)

9 posts / 0 new
Last post
#1 Tue, 01/27/2015 - 23:57
razalovepk

500 Internal Server Error (Multiple Domains)

Hi, I am using Centos 6.6 - 64 bit and installed successfully virtualmin free version I want to host two website. I added two new virtual server one works fine (www.magtechpro.net) and other domain gives me

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

website name is (www.magtechpro.com)

I am also using third party dns service from cloudflare.com.

Please be advised me where I am doing wrong I am kinda new person in server world.

Many thanks

Wed, 01/28/2015 - 08:47
andreychek

Howdy,

If you receive a "500" error like that, you would need to review that domain's error log in order to determine what the problem is.

You can find that error log in $HOME/logs/error_log.

-Eric

Wed, 01/28/2015 - 11:14
razalovepk

Hi Sir,

Thank you very much of your reply.

I checked the log file it is empty both error_log and access_log and interestingly other domains log file full of information.

I am looking in (example.com_error_log) am I on right place or wrong.

Please be advised me I am stuck.

Many thanks

Wed, 01/28/2015 - 13:15
Welshman
Welshman's picture

What type of sites are they?

Put a index.html page in the root public_html dir etc and see if it works.

You can check the apache error logs from within virtualmin itself.

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Wed, 01/28/2015 - 19:15
razalovepk

Hi Welshman,

Thank you for you reply.

I want to upload wordpress website.

Actually I put index.html file in both vhost account one is working fine but other one giving me a 500 Internal Server Error. When I checked the error_log file for this particular domain it was empty. Other domain error_log and access_log is full of information.

I am also behind NAT all port forwarding section is perfect.

Many thanks

Sat, 01/31/2015 - 00:55
tpnsolutions
tpnsolutions's picture

Hi,

Would you be open to a quick screen sharing session. I'd be happy to diagnose the issue a bit further and see if we can resolve this for you. Drop me a line on Skype or by email.

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com

Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Sat, 01/31/2015 - 21:29
razalovepk

Hi TPNsolutions,

Thank you very much for your reply.

Actually I figured out 500 Internal Server Error. Now I am facing a problem I can receive emails but can't send email it says mail sent successfully and also there is no message in Mail Queue.

I am using google server for smtp but no luck I set up following thing

relayhost = [smtp.gmail.com]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_option = noanonymous smtp_tls_CAfile = /etc/postfix/cacert.pem smtp_use_tls = yes

I am not using any certificate yet I am also in behind NAT means I have a dynamic IP and using cloudflare dns service rather than bind.

My hostname is different than my actual domain I am using no-ip free service for hostname.

Please be advised me where I am doing wrong I will really appreciate your kind help.

Sun, 02/01/2015 - 13:18
tpnsolutions
tpnsolutions's picture

Hi,

Are you receiving any bounces?

The problem with relaying to another provider for which you don't have access to reports from, is that you can't tell what's happening once the message is relayed. That is, they may be accepting it, then sending the message to the trash without letting you know.

We use Mandrill for our servers. They offer a 12,000 message FREE tier (per month) and reasonable pricing thereafter. Their control panel lets you see if the message was delivered to the recipient's provider without issue, whether there were bounces and other useful stuff.

Check them out at:

http://mandrill.com

Another company we've looked at before was "SendGrid" who has a similar business model.

https://sendgrid.com/

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com

Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Sun, 02/01/2015 - 13:36
Welshman
Welshman's picture

You on a shared server? See 126 domains hosted there, plus cloudflare nonsense.

If so get a dedie on a good 1gb network and get control.

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Topic locked