How to Create & Manage Subdomains with Ports on Namecheap
In the realm of domain management, subdomains are powerful tools to organize and segment your online presence. Namecheap, a leading domain registrar, offers a user-friendly platform to create and manage subdomains, even with port numbers. Let's delve into the process of setting up subdomains with port names at Namecheap.
Before we dive in, ensure you have an active domain and a basic understanding of subdomains. If you're new to this, subdomains are segments of your domain, like blog.yourdomain.com or shop.yourdomain.com. They allow you to separate your website into different sections, making it easier to manage and scale.
Understanding Subdomains and Ports
Subdomains are followed by a dot (.) and then the name you choose, like 'test' in 'test.yourdomain.com'. Ports, on the other hand, are numerical designations that specify a particular endpoint for network communications. For example, HTTP uses port 80 by default, while HTTPS uses 443.
When you want to access a specific service on a computer connected to the Internet, you typically need to specify a port to use. In the context of subdomains, you might want to use a port to direct traffic to a specific service, like a web server running on a non-standard port.
Why Use Subdomains with Ports?
Using subdomains with ports can be beneficial in several scenarios. For instance, if you're running a web application on a non-standard port (maybe for security or testing purposes), using a subdomain with a port allows you to access it directly. Another use case is when you want to differentiate between different instances of the same service, like staging or production environments.
Now that we've covered the basics, let's explore how to create subdomains with port numbers at Namecheap.
Creating Subdomains with Ports at Namecheap
To create a subdomain with a port at Namecheap, follow these steps:
- Log in to your Namecheap account.
- Select 'Domain List' from the dashboard.
- Click on the domain where you want to create the subdomain.
- Navigate to the 'Advanced DNS' section.
- Click on 'Add New Record'.
- For 'Type', select 'A - Address'.
- In the 'Host' field, enter your subdomain, followed by a colon and the port number, like 'test:8080'.
- Enter the IP address or hostname of the server you want to point to in the 'Value' field.
- Click 'Save' to create the new record.
After creating the record, it can take a few minutes to several hours for the changes to take effect due to propagation. Once it's live, you can access your subdomain with port at test:8080.yourdomain.com.
Managing and Removing Subdomains with Ports
To manage or remove subdomains with ports at Namecheap, follow these steps:
- Navigate to the 'Advanced DNS' section for your domain.
- To edit a record, click the pencil icon next to it.
- To delete a record, click the 'X' icon next to it and confirm the action.
Creating and managing subdomains with ports at Namecheap is a breeze once you understand the process. This capability opens up a world of possibilities for organizing your online presence and directing traffic to specific services. So, go ahead and harness the power of subdomains to enhance your domain management strategy.