Advertisement: Linux VPS from $4/month - contact support for custom offer.
+ Post New Thread
Results 1 to 2 of 2

Thread: How to properly add subdomain in zPanel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator
    Join Date
    Mar 2013
    Posts
    2,725

    How to properly add subdomain in zPanel

    zPanel can be tricky. I added new subdomain and when opened my subdomain in Firefox web browser, i got error:

    "Unable to connect
    Firefox can't establish a connection to the server at *"

    So i checked DNS configuration file in aim to find where are my DNS zone files, if they was updated.

    # cat /etc/zpanel/configs/bind/etc/

    i found that zone files are stored in /etc/zpanel/configs/bind/zones/

    apparently zone file for my domain was NOT updated.

    So i went into zPanel and DNS Manager section, into my domain and there "CNAME" section and there add new hostname.

    if i had mysubdomain.domain.tld, i would use: mysubdomain 3600 @

    then click "Save Changes" button, not only "Save" button.

    then my zone file was updated and i used web proxy http://anonymouse.org to see my subdomain now working. When accessing not via proxy it do not works and Firefox still complaints. This is some DNS cache issue and will get resolved automatically soon.

    Tutorial on how to properly add subdomain in zPanel

    How to create a sub-domain in zPanel:

    1. Login to ZPanel as user
    2. Click "Sub Domains"
    3. Enter sub-domain prefix and select the domain
    4. Use create new home directory
    5. Click "Create"
    6. Now go home
    7. Then click "DNS manager"
    8. Select your domain
    9. Under CNAME - You will need to add new record for the prefix of your sub domain
    10. Then click "Save Changes"
    source

  2. #2
    Junior Member imort's Avatar
    Join Date
    Apr 2016
    Posts
    15


    Is this useful / helpfull? Yes | No
    Quote Originally Posted by admin View Post
    When accessing not via proxy it do not works and Firefox still complaints. This is some DNS cache issue and will get resolved automatically soon.
    You're probably using a Windows PC at the time because Linux didn't have DNS caching by default.

    If you didn't want to wait for DNS cache to be renewed by itself (which can take some time) you can run this command with admin privileges at the command prompt:

    ipconfig /flushdns
    If you're using your router or modem as DNS server it's won't help though, so you'll have to wait anyway or reboot it.
    You can look for more related information about the DNS work and probable issues here.

+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 03-13-2023, 12:12 PM
  2. How do you scale properly on facebook?
    By lovevashikaran in forum SEO - Search Engine Optimisation
    Replies: 0
    Last Post: 05-11-2019, 06:55 AM
  3. Replies: 0
    Last Post: 01-13-2019, 09:36 AM
  4. How to properly delete a page from your site..?
    By sonamsharma in forum SEO - Search Engine Optimisation
    Replies: 2
    Last Post: 12-05-2017, 05:24 AM
  5. What are the best free subdomain providers?
    By Fli in forum Domain names
    Replies: 0
    Last Post: 03-16-2013, 09:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam