List addon domains, parked domains and sub domains via command line – cPanel

Hello all,

I was struggling to get the details of a domain from my WHM control panel as it did not list the domain name I searched under the “list accounts” option. In the dig result I found the account hosted on the same server. Situations like this can come and using the web interface can make us mad at times. We are lucky as there are ways to check all these from command line.

In the WHM control panel under the “list accounts” option, it will not list parked and addon domains so it’s tough to get details of a user or his accounts. We can get the help of grep command and list the these accounts easily. The methods are given below, please read through.

In cPanel, there is a file called main associated with all user accounts created on the server, this file contains the info about main domain, sub domains and addon domains. We can view this file using the cat command, see how it displays its contents:

Path of the “main” file: /var/cpanel/userdata/$username

example:
root@nixlinux [~]# cat /var/cpanel/userdata/<strong style="color:red;">football</strong>/main --- addon_domains: {} cp_php_magic_include_path.conf: 1 main_domain: footballforlife.com parked_domains: [] sub_domains: - store.footballforlife.com - tickets.footballforlife.com root@nixlinux [~]#
In the above footballforlife.com is the domain name and football is the username.

A screenshot of a real server output is also given below for helping you to a little more extend:

How to search for an addon/sub/parked domain on the entire server using command?

You can go for the below command to do this, please replace the string mentioned in the quotes with the domain name you need to search for:
# root@nixlinux [~]# grep -R "domain_name" /var/cpanel/userdata/*/main

Please check the below example to have a clear idea:

I am here searching for “webcrase” to see if something similar to it present on the server as an addon/park/sub domain on the server, below is the result I got:

How to list parked/sub/addon domain details from WHM?

As you know you can also do it from the WHM but the advanced searching might not be possible, do the steps below to do it.

  1. Log into WHM control panel.
  2. Search for “list parked domains” in the search bar at the left top corner.
  3. Check the below screenshot for more info:

4. You can also search for “list sub domains” in the search and you will get something like below.

  1. In the columns you will be able to see a domain and it’s associated domains details.

That’s all guys, thanks a lot for reading!!! 🙂

8 thoughts on “List addon domains, parked domains and sub domains via command line – cPanel

  1. binance

    I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

  2. https://sg-schoenfeld.de

    Clenbuterol notably increases heart rate in our sufferers, which can be
    supported by analysis (8). This happens as a outcome of extreme adrenaline production, placing unnecessary pressure on the guts.
    Though Clenbuterol is utilized by many bodybuilders to nice impact when trying to lean out
    and get ripped, it’s not FDA-approved for humans.

    Clenbutrol mimics Clenbuterol by causing thermogenesis in the body (increased heat production).
    As a results of this, the body has to continuously cool itself down to make sure the body’s temperature doesn’t rise excessively.

    Lets take for instance, when you’re operating three or more times every week, the restoration time between workouts may be essential.
    Are you uninterested in hitting the wall midway through your run or struggling to keep up along with
    your rivals on the track? Properly, fear not my speed-seeking friend, because in this submit I’ll be delving into the world of steroids – specifically, the most effective
    ones for operating endurance and sprinting.
    Any claims regarding benefits are based mostly on the product manufacturers’ representations and
    common ingredient analysis. None of the statements on this article have
    been evaluated by the FDA unless otherwise famous.
    This article is supplied for informational and academic purposes solely and is not supposed as medical advice,
    prognosis, or remedy. The content material reflects
    publicly available data and personal opinions at the time of publication.
    So, Clen isn’t a fat loss miracle, however it’s a powerful metabolic booster that
    can help you burn energy faster, and we all want to do that in a chopping cycle.
    Clen is usually stacked with potent cutting steroids like Anavar or Winstrol and
    helps provide that additional edge as you’re
    employed to turn into leaner during your cutting part.
    If you’re going to run a Clen cycle, take a look at my complete Clenbuterol cycle guide.
    As a stimulant, Clen comes with some totally
    different side effects than you’ll sometimes see with
    actual anabolic steroids. Winstrol will suppress your testosterone a lot, so
    you’ll want exogenous testosterone in your cycle.
    There are not any estrogenic effects, and androgenic effects are
    normally delicate.
    Experiment with bulking, chopping, and strength stacks to find what
    works greatest for you. MK-677 MK-677 boosts muscle development without focusing on androgen receptors.
    As A Substitute, it increases Human Progress Hormone (HGH) ranges, which are important for muscle recovery and development.
    With these safer options, you’ll be able to obtain incredible muscle progress with none dangers.

    Some SARMs, like MK-677, GW , and SR-9009, don’t goal androgen receptors.

    Prohormones are sometimes solely advised for people who have maintained a constant coaching routine for a minimum of two years.
    However, it’s important to do not overlook that they could include unwanted
    aspect effects and ought to be used responsibly.
    However, these are costly steroids and sometimes counterfeited; thus, injectable testosterone is the popular selection for many of
    our patients.
    Nevertheless, that urge for food increase can become difficult even for the most enthusiastic
    eater. ” – This remark demonstrates the potential hazard of that large appetite increase. Bad carbs will set again your outcomes, so you need to channel that appetite into the appropriate food regimen for the objectives you’re making an attempt to attain. Quite amazingly, some EQ customers report great vascularity on cycle and many years after working EQ. Some men have famous they now have “vascularity for all times,” which we don’t see with different AAS.
    In Distinction To Trenbolone, which can disrupt hormonal stability and pose cardiovascular risks, Trenorol uses pure performance-supporting compounds to imitate comparable effects—without illegal or synthetic substances. That’s the place the demand for safe alternate options to anabolic steroids comes into play. You May also discover how stack combos like the Crazy Bulk Ultimate Stack offer a multi-pronged method to body transformation. Every product reviewed on this article includes a detailed breakdown of ingredients, intended benefits, utilization steering, and the means it compares to the anabolic best steroid stack for weight loss (https://sg-schoenfeld.de) it’s designed to exchange.

    You should always remember all these drugs are potent, which signifies
    that the prescribed dosages should be strictly observed.

  3. https://ameliarodrigues.ba.gov.br/

    To make the most out of taking this amino acid, it is essential to combine it with a
    healthy diet and common train. As with many natural
    supplements, it’s greatest to talk along with your physician earlier than taking it every single day as part of
    a training routine. It works as an anti-inflammatory and helps with muscle features, energy, and even ache relief
    after strenuous actions. The next time you’re
    given some actual examples of bro science, send them this articles way….
    The Shake Weight, EMS (Electrical Muscle Stimulation) units, and
    Ab Belts are classic examples of muscle-building contraptions that promise massive features with minimal effort.
    These devices prey on people’s need for shortcuts, however the truth is they’re all style and
    no substance. They make a lot of guarantees, however the science simply
    doesn’t assist them,” says Dr. Alan Aragon, a respected nutrition researcher.
    Nevertheless, its dangerous unwanted aspect effects and authorized points have led to the event of safer and legal options. This part will focus on a number of the top trenbolone alternatives out there available within the market. In conclusion, Trenbolone is a powerful and efficient anabolic steroid that provides a variety of advantages for these looking for to boost their muscle mass, energy, and total physique. Whereas you will want to do not overlook that using any steroid comes with potential dangers, it’s clear that Trenbolone could be a useful software for devoted people looking to attain their health goals.
    Elliott Hulse has been fit his complete life—but some of the significant modifications to his physique came when he started consuming more healthy after doing strongman. Now, he believes within the power of natural products—knowing meals with out hormones and pesticides are healthier. Inspired by his religious enlightenment, Elliott Hulse explains how one can take management of your individual life. It holds a information on tips on how to achieve your objectives, attain authority, integrity and stronger self-discipline. Unfortunately, the economy crashed in 2008, and different people couldn’t afford to use his coaching services. This led to Elliott having a lifetime’s obsession with fitness—providing the foundation for his profession. As Ostarine is not permitted by the FDA, the authorized landscape for purchasing and promoting Ostarine could be complicated.
    And he systematically challenges the quasi-science of the underground/Intenet so-called “bro-science” on which customers depend, and which contributes to dangerous levels and combinations of use. His videos may be seen weekly on the Muscular Development podcast, “Ask the Anabolic Doc”. Some of the most reputable brands providing authorized steroid options in bodybuilding embrace CrazyBulk, Brutal Force, and Huge Diet. These brands are known for his or her high-quality supplements that deliver effective results whereas prioritizing safety and adhering to authorized rules. Furthermore, HGH-X2 is an various to Human Growth Hormone (HGH) and it aids in muscle-building, fat reduction, and enhanced stamina.
    For occasion, Cardarine, one other in style SARM, has been discovered to trigger most cancers in animal trials. Whereas this effect has not been proven in human trials, it highlights the significance of adhering to recommended dosages and consulting with a healthcare skilled earlier than utilizing Ostarine or other SARMs. For older adults, a decrease beginning dose of 5-10mg per day is recommended, with the chance of increasing underneath medical supervision.
    Additionally, choose respected manufacturers and sellers, and always seek the guidance of with a healthcare professional earlier than beginning any new complement routine. Customers can profit from advantages similar to worldwide shipping and money-back ensures to make sure a hassle-free and secure buy expertise. It’s essential to note that these legal dana linn bailey steroids (https://ameliarodrigues.ba.gov.br/) often contain pure elements
    that make them a safer choice for fitness lovers centered on their long-term
    health and well-being.
    The finest steroid cycle for muscle achieve is
    dependent upon particular person objectives, body kind,
    and tolerance. Usually, a combination of legal steroid options that concentrate on muscle growth, power,
    and restoration is recommended. A popular choice is the CrazyBulk Final Stack, which consists of four potent
    bulking steroid alternate options that work together to deliver quicker and simpler results.
    Testosterone is a crucial hormone for both men and women, nevertheless it plays
    a extra prominent role in men’s our bodies. It is answerable for varied functions, corresponding to muscle growth, bone density, and general well-being.

    Sustaining optimal testosterone ranges is essential for achieving the
    desired outcomes from legal steroid stacks.
    In his spare time, Tibi likes to make weird music on his laptop and groom felines.
    Bodybuilders are already conducting their very own experiments, some diligently monitoring their outcomes and monitoring their drug
    use. With some steering, these experiments could be systematized and analyzed, offering valuable data for researchers.

    The main problem, Underwood explains, is that many bodybuilders lack the scientific coaching to evaluate the expertise of their self-appointed gurus.

    “It comes all the method down to persona, capacity to promote your self, and the ‘look,’” she
    says.
    Consultants emphasize that whereas anecdotal data should by
    no means exchange correct medical advice, integrating it with professional assist may help reduce well being dangers.
    As the steroid debate continues, the worth of lived experience—alongside evidence-based education—may be worth a second look.
    The time period “broscience” often carries a negative connotation—gym-floor recommendation handed off as fact, often without
    scientific backing. Tremendously Anabolic, with a moderate
    androgenic nature, Dianabol is one of the best mass and strength steroids to ever hit the market.
    In many ways, its Dianabol’s impact on glycogenolysis that
    really sets it apart from different anabolics,
    as this gives the person the flexibility to maximise carbohydrate intake like by no means before.
    In conclusion, the cost and guarantee of legal steroid stacks vary
    depending on the model and product. It is
    crucial to weigh these components along with the effectiveness and security of a stack
    before making a buy order.

  4. adegy

    where to get generic clomiphene clomiphene without rx buy cheap clomiphene no prescription generic clomid can you get generic clomiphene for sale can i buy clomiphene without dr prescription how to buy generic clomid without prescription

  5. Jishnu KS Post author

    Hi Rahul, first of all thanks for your comment! The command line option to list the required info on cpanel servers is explained in this blog, as the each control panels have their own path for files this varies from one another. Let me come up with those in the upcoming blogs bro! 🙂

  6. Rahul

    Hi Jishnu

    Could you please explain if there is no control panel then how we list domain,parked domain,sub domain,? if my question is point less please ignore this.

Leave a Reply

Your email address will not be published.