نمایش نتایج: از شماره 1 تا 2 , از مجموع 2

موضوع: تنظیمان name server در سرور های cpanel

Hybrid View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #1
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,976
    تشکر شده در
    2,085 پست

    پیش فرض تنظیمان name server در سرور های cpanel

    This guide will show you the ropes in how to setup cpanel nameservers and configure them properly so you can run ns1 and ns2.yoursite.com. Once your nameservers are setup clients can then use your own private nameservers for their domains.

    1. Regiser your domain
    Register the domain name you would like to use, you can register a domain here if you need one.This domain will be used as your nameservers - eg ns1.yourdomain.com and ns2.yourdomain.com

    2. Additional IPs
    Have 2 available IP addresses for your server that aren't in use.You will need to contact you provider to obtain these IP addreses.

    3. Registering the Nameservers
    Now login to your domain management page for the domain you registered and register ns1.newdomain.com and ns2.newdomain.com as nameservers (registries normally have a special facility for doing that). The registry may also have a facility to propogate these nameservers around the foreign registries - if so, you should use this facility.
    4. Reverse DNS
    You may also need to get your data centre to enter a reverse DNS pointer for your nameservers. You'll need to let them know each nameserver and its IP address. Sometimes you can suffer non-delivery of mail if you don't so this. Reverse DNS pointers can take a while to propagate.
    Setup a reverse on the IP address for your domain

    Article provided by WebHostGear.com

    5. Broken NDC/BIND
    My version of WHM/CPanel came with a broken NDC. To fix this: SSH into your box as root.
    (a) Type: cd /scripts
    (b) Type: ./updatenow
    (c) Type: ./fixndc
    Go back into WHM, go to the Restart Services section in the left menu and click DNS/Nameserver (BIND).
    You will need to do this if you start getting 'ndc' errors when you are doing anything DNS related in WHM.
    6. Setup Nameservers In WHM
    Go into WHM (Web Host Manager) and select Edit Setup from the Server Setup menu on the left. Enter ns1.newdomain.com in the Primary Nameserver field. Hit 'Assign IP Address', then hit 'Add an A Entry for this nameserver'.
    Repeat this process for the Secondary Nameserver field.
    7. Tidy Up Junk Nameservers
    Go into WHM (Web Host Manager) and select Manage Nameserver IPs from the Server Setup menu on the left. Remove any nameservers you don't recognise. This is just a tidy up exercise in case anyone's set anything up on the box before you.
    8. Initial Nameserver Setup
    Go into WHM (Web Host Manager) and select Initial NameServer Setup from the Server Setup menu on the left. Run this.
    9. Restart BIND
    Restart BIND (step 7 restarts BIND, but we've known it to need a proper stop and start for it to work) from SSH with:
    service named stop
    service named start

    10. Manual Checks
    I don't know what it is about this process, but it doesn't always work, so there are some things you can check manually via SSH.
    /etc/wwwacct.conf
    Check that the nameservers are correctly specified on NS, NS2 etc.
    EG: scroll to the name servers section.....
    NS ns1.yournameserver.com
    NS2 ns2.yournameserver.com
    /etc/resolv.conf
    Check that there are nameserver entries for each IP. There may also be one for 127.0.0.1 - this is okay. I'm led to believe (by the 'man' entry for resolv.conf) that this isn't a particularly important file, but I changed mine to read:
    domain mybox.com
    search mybox.com
    nameserver 127.0.0.1
    nameserver 111.111.111.111
    nameserver 222.222.222.222
    Where 'mybox.com' is the main domain of my server, and '111.111.111.111' and '222.222.222.222' are the IP addresses of my primary and secondary nameservers.
    resolv.conf is used to lookup names that are not in FQDN format.
    /etc/nameserverips
    Check that there are entries for each IP acting as a nameserver.
    EG:
    IPHERE=ns1.yournameserver.com
    IPHERE=ns2.yournameserver.com

    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

  2. تعداد تشکر ها ازVahid به دلیل پست مفید


  3. #2
    عدم تائید ایمیل
    تاریخ عضویت
    Mar 2009
    نوشته ها
    98
    تشکر تشکر کرده 
    124
    تشکر تشکر شده 
    61
    تشکر شده در
    42 پست

    پیش فرض پاسخ : تنظیمان name server در سرور های cpanel

    من یک سوال دارم.
    بنده یک سرور اختصاصی جدید گرفتم برای وب سایت که برای مشتری طراحی کردم. کنترل پنل این سرور سی پنل هست. هست .

    من 2 عدد dns با ip هایی که دیتا سنتر بهمون داده ریجستر کردم.

    سوال من این هست ایا باید الان برم فایل /etc/resolv.conf رو ادیت کنم و مشخصات زیر رو جایگزین آن چه دیتا سنتر تعریف کرده قرار بدم؟
    کد PHP:

    search Mydomain
    .com
    ns1
    .Mydomain XXX.XXX.XXX.XXX
    ns1
    .Mydomain XXX.XXX.XXX.XXX 

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. حذف Server Status در cpanel
    توسط amniat41 در انجمن سی پنل CPanel
    پاسخ ها: 2
    آخرين نوشته: July 18th, 2015, 18:56
  2. دلیل ارور Stats/Server Overload cpanel ?
    توسط hoka در انجمن سی پنل CPanel
    پاسخ ها: 3
    آخرين نوشته: February 13th, 2015, 22:33
  3. Mirror cPanel server
    توسط AhmadTux در انجمن سرور اختصاصی
    پاسخ ها: 4
    آخرين نوشته: August 27th, 2012, 08:17
  4. مشکل دی ان اس ها name server ip ها در Cpanel
    توسط erfannew در انجمن سوالات و مشکلات
    پاسخ ها: 1
    آخرين نوشته: October 14th, 2011, 13:09
  5. مشکل Mail Server در cPanel
    توسط vPsPersia.COM در انجمن سی پنل CPanel
    پاسخ ها: 11
    آخرين نوشته: May 16th, 2010, 03:45

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •