If you have a web host, like Blue Host, you can have different domains (called add-on domains) that point to different subdirectories within your host account. In this post I explain how to set this up. It's a bit confusing and I've never seen instructions on configuring this.
Let's say I want to have two sites, one called johndoe.com and the other janedoe.com, and I only want to have one web host. The root domain of the web host could be anything, such as www.idratherbewriting.com (my domain). To set this up, here's the basic procedure:
When WordPress installs, the add-on domain folder will appear in the public_html folder in your file directory. So if you access your file directory via FileZilla (or some other FTP program), and then go to /public_html, you'll see a folder called johndoe. That's where your WordPress files are installed.
Within the WordPress admin dashboard, go to the Options tab and you will see that your add-on domain appears in both the WordPress URL and the Blog address (URL) fields.
You can log into your add-on domain blog by going to johndoe.com/wp-admin.
Users will be able to go to johndoe.com and janedoe.com and navigate them without realizing that they are really subdirectories under idratherbewriting.com.
Special thanks to Ryan at BlueHost tech support for walking me through this. Support at BlueHost is excellent, which is probably why they're at the top of the recommended hosts list at WordPress.
Get new posts delivered straight to your inbox.
I'm a technical writer based in the California San Francisco Bay area. Topics I write about on this blog include technical writing, authoring and publishing tools, API documentation, tech comm trends, visual communication, technical writing career advice, information architecture and findability, developer documentation, and more. If you're a professional or aspiring technical writer, be sure to subscribe to email updates using the form above. You can learn more about me here. You can also contact me with questions.