.htaccess 301 Redirect: Examples for Pages and Domains
Use Apache redirects for permanent URL changes, with page, directory and domain examples plus a practical verification checklist.
Short, practical write-ups on the things people ask us: DNS records, .htaccess rules, Cloudflare settings and what actually happens to a domain when it expires.
68 guides on DNS, .htaccess, Cloudflare and expired domains.
Use Apache redirects for permanent URL changes, with page, directory and domain examples plus a practical verification checklist.
A short 301 rule in the .htaccess file sends visitors from an expired domain you own to another site. Rules, steps and testing for Apache hosting.
Point an expired domain you now own to another site with a free Cloudflare account: a proxied placeholder DNS record plus one 301 Redirect Rule.
Redirect an alias domain through Cloudflare using current Redirect Rules, choose path handling deliberately, and verify the response.
Redirect HTTP requests to HTTPS on Apache, with certificate prerequisites, safe rule placement and checks for proxy-related loops.
An .htaccess file changes Apache settings for a directory. Learn where its rules apply, which permissions matter, and how to make reversible edits.
Expired domains have passed their renewal date but may still be recoverable. Learn when names become available and what to check before buying.
Create wildcard subdomains with a * DNS record, an Apache ServerAlias and .htaccess rewrite rules. Step-by-step with Namecheap as the DNS example.
A DNS record is one instruction on a domain's nameservers: an address, a mail server, a text value. Here are the types you edit and the rules people trip over.
What is in the guides and where to start.
Two broad areas. First, domains: how the domain lifecycle works, what happens when a name expires, whether expired domains are worth buying and where to buy them. Second, the practical work that follows: reading a WHOIS record, adding DNS records at common registrars, redirecting an old domain, and configuring .htaccess, caching and Cloudflare.
People registering or buying a domain and then having to make it work. That covers first-time buyers who want to know what a nameserver is, domain investors sizing up expired names, and site owners doing their own DNS, redirects and caching. The guides assume no prior knowledge and show the actual steps rather than describing them in the abstract.
No. The guides, the expired domain lists and the lookup tools are open to everyone. An account is only needed for the parts that have to remember something for you: saving favourites and setting up match rules that alert you when a name you want becomes available.
Every guide carries its publication date, so check it before following a walkthrough. The domain concepts — expiry, redemption, DNS record types — barely change. Registrar and control panel screens change often, so a screenshot from an older guide may no longer match what you see, even when the steps are still right.
If domains are new to you, start with the lifecycle of a domain name and what happens when one expires — almost everything else here builds on those two. If you already know the ground and want names, go straight to the expired domains list or the WHOIS lookup.