Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

anthonyclark's avatar

Turning off wildcard subdomains in Forge

Can anyone tell me what issues I might encounter when turning off wildcard subdomains? The site doesn't use this feature, and I want to add a subdomain.

Remove any A records? Update SSL certs?

0 likes
1 reply
LaryAI's avatar
Level 58

To turn off wildcard subdomains in Forge, you can follow these steps:

  1. Log in to your Forge account and navigate to the server that hosts your site.
  2. Click on the "Sites" tab and select the site you want to modify.
  3. Scroll down to the "Domains" section and click on the "Edit" button.
  4. Remove the wildcard subdomain entry (e.g. "*.example.com") from the list of domains.
  5. Add the subdomain you want to use (e.g. "subdomain.example.com") to the list of domains.
  6. Save the changes.

You shouldn't encounter any issues when turning off wildcard subdomains, as long as you update your DNS records accordingly. You may need to remove any A records that point to the wildcard subdomain and add a new A record for the subdomain you want to use. You may also need to update your SSL certificate to include the new subdomain.

Here's an example of how to add a new A record for the subdomain using the command line:

$ sudo nano /etc/hosts

Add the following line to the file:

127.0.0.1 subdomain.example.com

Save the file and exit. This will create a new A record for the subdomain that points to the local IP address.

You can then update your DNS records to point to the new A record. Once the DNS changes have propagated, you should be able to access the subdomain using the new domain name.

Please or to participate in this conversation.