Linode optimization, DNS/IP stuff..etc

eliquid

Serpwoo.com
May 10, 2007
7,207
205
63
A/B Testing
Anyone here optimize LAMP setups well?

Mainly looking for security, optimization to keep it running well, and some issues I have/had with DNS/apache stuff/virt host
 


Dude, there's guys on the Linode forums that love to tune those slices like race cars - that's all they do. Trouble is, I bet half of them don't host a fucking thing.
 
yeah, the main prob I have is

i use my IP to test out new ideas I have, so I access those folders and file via IP directly.

Then I put on some domain names thru apache and DNS so I could access some of the more built tools via domain name and that worked great, but when I type in my IP now to hit the beta tools I made, the IP just shows me the folder of one of the domains I made. I think I need a failover 0-default folder in sites-enabled, but that didnt work either after reloading apache.

Not sure what I need to do, would love to hit my beat tools again though via IP directly and effect my domains I set up
 
yeah, I knew that problem would be something easy.

I guess Im gonna look for someone that can now do the security and optimization to the server so its locked down and running like a top.
 
There's also a Systems Management forum in the offers section on Webhosting Talk where you may find someone reputable. You can also post a service request but there's a a lot of 3 post wonders monitoring that forum like seagulls.
 
If you're looking for things to do security-wise, run tail on some of the log files. You can them pipe them into a grep command to search for things that should not be happening. Example: someone is hitting your web server with a dictionary-type attack looking for certain files/folders; if something like this shows up in the search, you can have another script IP block them.

Also good for optimization- if you see something throwing tons of errors because a config file has bad syntax, seeing it as it happens helps nail down the source.

System Monitor scripts are out there, but there is a morbid satisfaction in doing it yourself.
 
You should try out nginx + php-fpm .

As for security, I would start with the standard. iptables + fail2ban + change default ssh port + disallow root logins. The linode wiki has some good docs. What OS are you running, Debian?