Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Creating subdomains via SSH

Discussion in 'Workarounds and Optimization' started by Jimmy Pierre, Feb 11, 2019.

  1. Jimmy Pierre

    Jimmy Pierre Registered

    Joined:
    Feb 10, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hi,

    Domains cost a fortune (all the work around) and each time that I have a new project, I used to create a domain. I will from now on create subdomains. I am now launching WPaaS with Hosting, Elementor as plugin and OceanWP for Theme. I need to create a demo by design/audience, so it would be good to be able to script the creation of sub domains.

    I checked cPanel forum, but it's not very clear for me. Do you guys have an example of such command please? I do not mind creatinsubdomains, then set permissions (did that before to set .htaccess and wp-config.php) with a second script.

    Cheers,
    Jimmy
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Jimmy Pierre

    cPanel does not have any built-in functionality for scripting subdomain creation but I am positive you'll find what you're looking to do with a quick google search. I'd also like to encourage you to open a feature request using the link in my signature if this is something you'd like to see as a part of cPanel/WHM. If you do open one please update this thread with the link so that others may vote on it as well.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice