118 reputation
6
bio website ashwinkumar.me
location Bangalore, India
age
visits member for 2 years, 9 months
seen Jun 17 at 17:40

Apr
12
awarded  Announcer
Jan
3
awarded  Commentator
Jan
3
comment MySQL (MariaDB) crashes frequently
You should log the file handles used and the memory used both before and after the crash (maybe even the dump of top command every interval) to know what could cause the crash. Any other services run in your servers like mysql (mariadb)?
Jul
1
awarded  Popular Question
May
15
accepted How to enable SSL for LDAP with Apache Directory Studio?
May
14
asked How to enable SSL for LDAP with Apache Directory Studio?
Mar
12
asked Simulate slow network connection to MySQl server
Nov
29
comment Mount network drive as physical drive
+1, was looking to create C++ project solution on a network drive. This trick works. :-)
Feb
24
comment How do you name your servers?
where is serverfault.com/questions/45734/the-coolest-server-names now?
Feb
12
comment Multiple domain names on the same apache server
@ShaneMadden, That answers my question. At this time I am not supporting encryption. But I have future plans to do so. Will get familiar handling the apache conf files before giving encryption a try.
Feb
12
comment Multiple domain names on the same apache server
@JamesO'Gorman, Thanks for the input on chcon and SELinux. I have disabled SELinux for now.
Feb
12
awarded  Supporter
Feb
12
comment Multiple domain names on the same apache server
@ShaneMadden, I have one more question: I have purchased two domain names from godaddy.com and I have one private server in amazon. I have pointed both the domain names to that server (temporarily). I want to host two different sites on the same server. Will the same configuration work?
Feb
12
awarded  Scholar
Feb
12
accepted Multiple domain names on the same apache server
Feb
12
comment Multiple domain names on the same apache server
I had wordpress.conf as well in etc/httpd/conf.d/ directory. For time being I removed the configuration file and it started working
Feb
12
comment Multiple domain names on the same apache server
contd... VirtualHost configuration: 127.0.0.1:* is a NameVirtualHost default server wyswtf.com (/etc/httpd/conf.d/wordpress.conf:2) port 80 namevhost wyswtf.com (/etc/httpd/conf.d/wordpress.conf:2) wildcard NameVirtualHosts and default servers: *:80 is a NameVirtualHost default server example.org (/etc/httpd/conf.d/example.conf:21) port 80 namevhost example.org (/etc/httpd/conf.d/example.conf:21) Syntax OK
Feb
12
comment Multiple domain names on the same apache server
@ShaneMadden, brilliant! I executed: apachectl -S and it returned [Sun Feb 12 10:07:45 2012] [error] (EAI 2)Name or service not known: Could not resolve host name example.com/ -- ignoring! httpd: apr_sockaddr_info_get() failed for dexter.brains httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Sun Feb 12 10:08:05 2012] [error] VirtualHost 127.0.0.1:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
Feb
12
comment Multiple domain names on the same apache server
@ShaneMadden, I want to access the site as example.com & example.org. I followed your instructions exactly and it did not work as expected. after I restarted httpd service and when I am trying to access example.com or example.org it is pointing to /var/www/html/ directory. It is not pointing to /server/example.com/ and/or /server/example.org/.
Feb
11
awarded  Student