Knowledge Base

How to create a subdomain

A subdomain is an address under your main domain, such as shop.example.com, app.example.com, or staging.example.com.

  1. Open the hosting panel at https://cyber.ideacomindo.com:8090.
  2. Go to Websites and open the website that owns the main domain.
  3. Open Sub / Addon Domains or Create Sub / Addon Domain.
  4. Select the parent website, then enter the full subdomain name, for example shop.example.com.
  5. Choose the document root path. This is the folder that will be opened when visitors access the subdomain.
  6. For a normal static or WordPress-style subdomain, a path such as public_html/shop is usually enough.
  7. For Laravel, CodeIgniter 4, or another application that has a public web folder, point the document root to that public folder. Example: for shop.example.com, use a path like shop.example.com/public if the application files are stored in a shop.example.com folder and the web entry point is inside its public folder.
  8. Select the PHP version required by the application.
  9. Create the subdomain and wait until the progress finishes.
  10. Add or confirm the DNS record for the subdomain. If your domain uses Cloudflare, create the record in Cloudflare.
  11. After DNS points to Idea Comindo hosting, issue SSL for the new subdomain.

Use Create Website only when Idea Comindo support has asked you to create a separate top-level website. For normal client work, use Create Sub / Addon Domain so the subdomain stays under your existing hosting account.

If the subdomain already exists and the document root needs to be changed, open a support ticket. For security, existing document root changes may be handled by support.

If you see a permission error or the subdomain limit is reached, open a support ticket from the client portal and include the main domain, the subdomain, and the document root path you want to use.

Please rate this article to help us improve our Knowledge Base.

1 0