Skip to content

u/troyglancy

In this archive from May 2018 to May 2019

3
posts
135
comments
3
media
908
score

Add this to your htaccess file. It will help with a few (if not) most of the bots.

Replace REPLACEWITHYOURURL with your own domain. What this does is block bots with no http referrer. Which most don't.

# block comment spam by denying access to no-referrer requests
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} wp-login\.php
RewriteCond %{HTTP_REFERER} !(.*)REPLACEWITHYOURURL\.com(.*) [OR]
RewriteCond %{HTTP_USER_AGENT} ^-?$
RewriteRule .* http://127.0.0.1/ [R=301,L]

Use these Page Rules

https://medium.com/@troyglancy/how-to-stop-brute-force-attacks-with-cloudflare-free-page-rules-2a7d56d40646

2 points

If they running a Windows domain most likely what happen is they're IT provider set up the active directory domain as the same one they use for the website. So their internal DNS thinks their domain.com us local not external. If the IT provider would have set it to domain.local then you wouldn't have this issue. They most likely did it with the real domain because of email. They could have done domain.local and still configured email a little different though.

It's been awhile since I've dealt with this issue so I can't remember exactly what to do you could add the IP and a DNS on the server and see if that works but not 100% if it does. I remember a guide for Microsoft talks about how to do this I'll have to find it.

1 points

If you want people to find you start writing a bunch of content and don't expect anything for almost a year. Don't fill up your site with a bunch of ads either. Maybe a year or two from now once you have some great content you can slowly start adding ads but not anytime soon.

Get a real URL. Nobody is going to take you serious with the domain alldigital416081594.wordpress.com

1 points

Very limited about if people host their own via apache only. Most use cPanel. Easier to get an SSL from your host and do this.

SSLs are free with most website host. However, your website may need to be set up to run it correctly.

You can use this site to find out which non secure elements are running on your site after you change it to SSL. https://www.whynopadlock.com/

If you don't want to go through all of your site and fix non secure elements you can use this plugin. https://wordpress.org/plugins/really-simple-ssl/

1 points

Yes, I'm being serious. You can get a server from Cloudways for 10-12 bucks a month using Digital Ocean or Linode servers on a gigabit connection which will most likely handle what you need. (Of course it depends on how many hits your site is currently getting.) If you need more than sure you'll have to pay more. However, their servers are highly optimized. You don't have to optimize the server or anything either. Their platform handles that for you. I used to build my own servers too and realized I don't want to deal with them anymore.

Their servers have Varnish cache as well as Nginx server the frontend with Apache serving the other content.

I understand you want to have your own server. I did the same thing once. Had my own web and email server running from my house. Then I realized it's not worth the headaches. I used to also run my own hosting company though Linode as well. Hosted over 500 domains. Trust me. I understand.

Can I fix your server. Yes, do I want to do it..Sure, I love a challenge. However, I'm telling you focus on your website and stop worrying about the server stuff.

1 points

Use Cloudflare. They have a setting under firewall that allows you to block countries. I prefer this way because it blocks them before they get to your site.

2 points

Put your site on Cloudflare and block counties under the firewall. I prefer using Cloudflare over a plugin because they're blocked before they hit your site.

2 points

I know I can use plugins to migrate a site for some reason I just like doing it manually. I export the database into the public_html and then zip the public_html folder. SCP to the new server extract to the new public_html, import the database, and change the wp-config.php.

If I don't have SSH access I do the same thing except downloading files to my computer after zipping.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.