Steps to add a sub domain and create a landing page in WordPress
Adding a subdomain and creating a landing page in WordPress involves two main phases: configuring the subdomain in your hosting provider’s control panel and building the page in WordPress.
Phase 1: Add and Configure the Subdomain
This process usually takes place within your domain hosting provider’s dashboard. The owner of a website usually owns and manages the domain.
- Log in to your hosting account. This is typically done through your web host’s website.
- Navigate to the Domains section, looking for an option like “Subdomains” or “Domains”.
- Create a new subdomain: Enter your desired subdomain name (e.g.,
contact,NewOffer,event) and select the main domain from the dropdown menu. - Specify the document root/folder: Deselect the “Share document root” option to create a dedicated folder for your new subdomain’s files, keeping things organized.
- Submit the creation request: Click “Create” or “Submit”.
- Install WordPress on the new subdomain: Most hosts offer a one-click auto-installer (like GoDaddy).
- Find the WordPress installer in your control panel.
- Select the newly created subdomain from the list of available domains during the installation process.
- Follow the prompts to set up your WordPress site name, admin username, password, and email, then click “Install”.
- Wait for propagation: DNS changes may take some time (anywhere from a few hours to 48 hours) to fully propagate globally.
Phase 2: Create the Landing Page in WordPress
Once WordPress is installed and running on your new subdomain, you can build your landing page.
- Log in to your new WordPress dashboard at
://yoursubdomain.yourdomain.com. - Install a page builder plugin: While you can use the default Gutenberg editor, a page builder like Elementor provides more design flexibility.
- Go to Plugins > Add New, search for your chosen plugin, click “Install Now”, and then “Activate”.
- Create a new page:
- Go to Pages > Add New and give your page a clear title.
- Select a “full-width” or “blank canvas” template from the page settings to remove the header, footer, and navigation, which helps focus the user on the goal of the landing page.
- Design your landing page:
- Use the page builder’s drag-and-drop interface or the Gutenberg block editor to add elements like headings, images, text, and Call-to-Action (CTA) buttons.
- Customize colors, typography, and layout to match your brand. Many plugins and themes offer pre-made landing page templates to get started quickly.
- Optimize and publish:
- Add essential elements like a compelling headline, supporting visuals, and a clear call to action.
- Preview the page to ensure everything looks and functions correctly across different devices.
- Click “Publish” to make your landing page live. You can optionally set this page as your homepage under Settings
