كيف؟: أكون جهة راعية لأحد أقسام مطور؟...التفاصيل أخبار مطور: مطور يدعم المطورين بإعلانات مجانية. BETA

 

||!¤*'~`(( إعلانات نصيه ))`~'*¤!||
برنامج المنظم لادارة الاستضافة
يغنيك عن عشرة موظفين!
http://www.almnzm.com
مميز لتطوير المنتديات
شروحات - دروس - تطوير - باختصار احترف إدارة منتداك في مميز.
http://www.support-vb.com
خانة تبادل اعلاني
عذرا للمواقع التطويرية فقط
برنامج ملفات
حاز على رضا أكثر من 400 موقعا حتى الان ..
http://www.mlffat.com



 
العودة   معهد مطور .. خطوتك من مستخدم إلى مُطًوِر > مطور .. خطوتك الأولى من مستخدم الى مطور > مطور عالم الاستضافة والخوادم
التسجيل دعوة صديق   استرجاع كلمة المرور   كود التفعيل   التفعيل   البحث مشاركات اليوم اجعل كافة المشاركات مقروءة
 

مطور عالم الاستضافة والخوادم شركات الاستضافة - ريسلر - VPS - الخوادم - النطاقات - مشاكل وحلول الاستضافة والخوادم وما يتعلق بهما.



إنشاء موضوع جديد  رد
 
أدوات الموضوع طرق مشاهدة الموضوع
  #1 (permalink)  
قديم 27-09-2008, 07:44 PM
مطور مشارك
تاريخ التسجيل: 18-03-2008
المشاركات: 23
Unhappy بخصوص الإيبيهات private & public


السلام عليكم و رحمة الله و بركاته

لدي سؤال بخصوص الإيبيهات التي ينبغي وضعها بملفات /etc/nameserverip
و etc/wwwacct.conf و باقي الملفات المهمة

هل علي وضع Public ip ام Private ip ؟

و نفس السؤال يخص ال dns

مشكلة ثانية : انا نقلت موقع ... و ايضا أنشأت حسابين جديدين
و لما أفتح الروابط يطلع لي هذه الصورة بدل الموقعين مع العلم ان واحد من المواقع قديم و ليس جديد و لسة ناقلو للسيرفر الجديد


الصورة اللي تطلع بدل المواقع سواء الجديدة او اللي لسة منقولة :



أرجو ألقى عندكم حل للمشكلة الثانية و أجوبة للسؤال الأول
و جزاكم الله كل خير

أسأل الله عز و جل أن يعتق رقابنا و رقابكم من النار في هذه الأواخر المباركة
رد مع اقتباس
  #2 (permalink)  
قديم 28-09-2008, 12:17 AM
مطور مشارك
تاريخ التسجيل: 10-04-2008
المشاركات: 140
افتراضي


وعليكم السلام ورحمه الله وبركاته
يجب ان تسخدم Public ip لان انت ما راح تشتغل بالمواقع لوكال ( local ) لديك زوار من جميع المناطق والدول !!

اما عن الثانية قد تكون المشكلة بملف httpd.conf
ارفق هذا الملف
كود:
/usr/local/apache/conf/httpd.conf
او قم بعمل حساب جديد لو ما حدثت به المشكلة سوى ترمنيات اى حذف للمواقع الا استرجعتها واسترجعها من جديد

بالتوفيق
علاء الدين
__________________
Head of Geeks
رد مع اقتباس
  #3 (permalink)  
قديم 01-10-2008, 10:01 AM
مطور مشارك
تاريخ التسجيل: 18-03-2008
المشاركات: 23
افتراضي


جزاك الله خيرا أخي

كيف أستطيع سحب هذا الملف حتى أرفقه لك هنا
رد مع اقتباس
  #4 (permalink)  
قديم 01-10-2008, 10:10 PM
مطور مشارك
تاريخ التسجيل: 10-04-2008
المشاركات: 140
افتراضي


كود:
cp /usr/local/apache/conf/httpd.conf /home/user/www/httpd.conf
chown user:user /home/user/www/httpd.conf

user = اسم الدخول حق اى موقع
وبعد ذلك اعطنا الرابط
__________________
Head of Geeks
رد مع اقتباس
  #5 (permalink)  
قديم 02-10-2008, 01:10 PM
مطور مشارك
تاريخ التسجيل: 18-03-2008
المشاركات: 23
افتراضي


تفضل أخوي و لو محتاج مني أي تفاصيل أرجو تتكرم بقبول ارسالها لك على رسالة خاصة :

كود:
 text/x-config httpd.conf
ASCII English text

Include "/usr/local/apache/conf/includes/pre_main_global.conf"
Include "/usr/local/apache/conf/includes/pre_main_2.conf"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#   Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the       #
#   configuration file. To have modifications retained, all modifications must be checked into the              #
#   configuration system by running:                                                                            #
#       /usr/local/cpanel/bin/apache_conf_distiller --update                                                    #
#   To see if your changes will be conserved, regenerate the Apache configuration file by running:              #
#       /usr/local/cpanel/bin/build_apache_conf                                                                 #
#   and check the configuration file for your alterations. If your changes have been ignored, then they will    #
#   need to be added directly to their respective template files.                                               #
#                                                                                                               #
#   It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf       #
#   For detailed instructions on using Include files and the apache_conf_distiller with the new configuration   #
#   system refer to the documentation at: http://www.cpanel.net/support/docs/ea/ea3/customdirectives.html       #
#                                                                                                               #
#   This configuration file was built from the following templates:                                             #
#     /var/cpanel/templates/apache2/main.default                                                                #
#     /var/cpanel/templates/apache2/main.local                                                                  #
#     /var/cpanel/templates/apache2/vhost.default                                                               #
#     /var/cpanel/templates/apache2/vhost.local                                                                 #
#     /var/cpanel/templates/apache2/ssl_vhost.default                                                           #
#     /var/cpanel/templates/apache2/ssl_vhost.local                                                             #
#                                                                                                               #
#  Templates with the '.local' extension will be preferred over templates with the '.default' extension.        #
#  The only template updated by the apache_conf_distiller is main.default.                                      #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #



 

LoadModule auth_passthrough_module modules/mod_auth_passthrough.so
LoadModule bwlimited_module modules/mod_bwlimited.so
LoadModule frontpage_module modules/mod_frontpage.so




Include "/usr/local/apache/conf/php.conf"
Include "/usr/local/apache/conf/modsec2.conf"
Include "/usr/local/apache/conf/includes/errordocument.conf"


ErrorLog "logs/error_log"
DefaultType text/plain
ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi

Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
Alias /bandwidth/ /usr/local/bandmin/htdocs/
Alias /img-sys/ /usr/local/cpanel/img-sys/
Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
Alias /java-sys/ /usr/local/cpanel/java-sys/
Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/


ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
ScriptAlias /scgi-bin /usr/local/cpanel/cgi-sys/scgiwrap


<Directory "/">
    Options All
    AllowOverride All
</Directory>

<Directory "/usr/local/apache/htdocs">
    Options Includes Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

</Directory>


<Files ~ "^error_log$">
Order allow,deny
Deny from all
Satisfy All
</Files>

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all

    Satisfy All
</FilesMatch>

<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    CustomLog "logs/access_log" common

    <IfModule logio_module>
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

    </IfModule>

</IfModule>

<IfModule alias_module>
    ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

</IfModule>

<Directory "/usr/local/apache/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all

</Directory>

<IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

</IfModule>

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#   Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the       #
#   configuration file. To have modifications retained, all modifications must be checked into the              #
#   configuration system by running:                                                                            #
#       /usr/local/cpanel/bin/apache_conf_distiller --update                                                    #
#   To see if your changes will be conserved, regenerate the Apache configuration file by running:              #
#       /usr/local/cpanel/bin/build_apache_conf                                                                 #
#   and check the configuration file for your alterations. If your changes have been ignored, then they will    #
#   need to be added directly to their respective template files.                                               #
#                                                                                                               #
#   It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf       #
#   For detailed instructions on using Include files and the apache_conf_distiller with the new configuration   #
#   system refer to the documentation at: http://www.cpanel.net/support/docs/ea/ea3/customdirectives.html       #
#                                                                                                               #
#   This configuration file was built from the following templates:                                             #
#     /var/cpanel/templates/apache2/main.default                                                                #
#     /var/cpanel/templates/apache2/main.local                                                                  #
#     /var/cpanel/templates/apache2/vhost.default                                                               #
#     /var/cpanel/templates/apache2/vhost.local                                                                 #
#     /var/cpanel/templates/apache2/ssl_vhost.default                                                           #
#     /var/cpanel/templates/apache2/ssl_vhost.local                                                             #
#                                                                                                               #
#  Templates with the '.local' extension will be preferred over templates with the '.default' extension.        #
#  The only template updated by the apache_conf_distiller is main.default.                                      #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


PidFile logs/httpd.pid
LockFile logs/accept.lock
# Defined in /var/cpanel/cpanel.config: apache_port
Listen 0.0.0.0:80
Timeout 300
User nobody
Group nobody
ExtendedStatus On
ServerAdmin admin@xxxxxx.com
ServerName serv1.xxxxxx.com
LogLevel warn
ServerSignature On

RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
RewriteLock /usr/local/apache/logs/rewrite_lock

UserDir public_html

# DirectoryIndex is set via the WHM -> Service Configuration -> Apache Setup -> DirectoryIndex Priority
DirectoryIndex index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html

SSLPassPhraseDialog  builtin
SSLSessionCache         dbm:/usr/local/apache/logs/ssl_scache
SSLSessionCacheTimeout  300
SSLMutex  file:/usr/local/apache/logs/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

<IfDefine SSL>
    # Defined in /var/cpanel/cpanel.config: apache_ssl_port
    Listen 0.0.0.0:443
    AddType application/x-x509-ca-cert .crt
    AddType application/x-pkcs7-crl .crl
</IfDefine>


AddHandler cgi-script .cgi .pl .plx .ppl .perl
AddHandler server-parsed .shtml
AddType text/html .shtml
AddType application/x-tar .tgz
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap.wmlscriptc .wmlsc

<Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</Location>



# SUEXEC is supported

Include "/usr/local/apache/conf/includes/pre_virtualhost_global.conf"
Include "/usr/local/apache/conf/includes/pre_virtualhost_2.conf"

# DO NOT EDIT. AUTOMATICALLY GENERATED.  IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.  
NameVirtualHost 192.168.100.xx8:80
NameVirtualHost *
# DO NOT EDIT. AUTOMATICALLY GENERATED.  IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.  

<VirtualHost 192.168.100.xx8:80>
    ServerName serv1.xxxxxx.com
    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin admin@xxxxxx.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
</VirtualHost>


# Default vhost for unbound IPs

<VirtualHost *>
    ServerName serv1.xxxxxx.com
    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin admin@xxxxxx.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
</VirtualHost>

# DO NOT EDIT. AUTOMATICALLY GENERATED.  IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.  


# DO NOT EDIT. AUTOMATICALLY GENERATED.  IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.  

# SSL
<IfDefine SSL>
</IfDefine>





# DO NOT EDIT. AUTOMATICALLY GENERATED.  IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.  
<VirtualHost 192.168.100.xx8:80>
    ServerName xxxxxx.com
    ServerAlias www.xxxxxx.com
    DocumentRoot /home/xxxxxx/public_html
    ServerAdmin webmaster@xxxxxx.com
    ## User xxxxxx # Needed for Cpanel::ApacheConf
    <IfModule mod_suphp.c>
        suPHP_UserGroup xxxxxx xxxxxx
    </IfModule>
    <IfModule !mod_disable_suexec.c>
        SuexecUserGroup xxxxxx xxxxxx
    </IfModule>
    CustomLog /usr/local/apache/domlogs/xxxxxx.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
    CustomLog /usr/local/apache/domlogs/xxxxxx.com combined
    ScriptAlias /cgi-bin/ /home/xxxxxx/public_html/cgi-bin/
</VirtualHost>

<VirtualHost 192.168.100.xx8:80>
    ServerName yyyyyy.com
    ServerAlias www.yyyyyy.com
    DocumentRoot /home/yyyyyyc/public_html
    ServerAdmin webmaster@yyyyyy.com
    ## User yyyyyyc # Needed for Cpanel::ApacheConf
    <IfModule mod_suphp.c>
        suPHP_UserGroup yyyyyyc yyyyyyc
    </IfModule>
    <IfModule !mod_disable_suexec.c>
        SuexecUserGroup yyyyyyc yyyyyyc
    </IfModule>
    CustomLog /usr/local/apache/domlogs/yyyyyy.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
    CustomLog /usr/local/apache/domlogs/yyyyyy.com combined
    ScriptAlias /cgi-bin/ /home/yyyyyyc/public_html/cgi-bin/
</VirtualHost>
# CPANEL/WHM/WEBMAIL/WEBDISK PROXY SUBDOMAINS
<VirtualHost 192.168.100.xx8:80 *>
    ServerName serv1.xxxxxx.com
    ServerAlias cpanel.* whm.* webmail.* webdisk.*
    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin admin@xxxxxx.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^cpanel\.
    RewriteRule ^/(.*) http://127.0.0.1:2082/$1 [P]
    RewriteCond %{HTTP_HOST} ^webmail\.
    RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
    RewriteCond %{HTTP_HOST} ^whm\.
    RewriteRule ^/(.*) http://127.0.0.1:2086/$1 [P]
    RewriteCond %{HTTP_HOST} ^webdisk\.
    RewriteRule ^/(.*) http://127.0.0.1:2077/$1 [P]
    UseCanonicalName Off
</VirtualHost>
Include "/usr/local/apache/conf/includes/post_virtualhost_global.conf"
Include "/usr/local/apache/conf/includes/post_virtualhost_2.conf"
رد مع اقتباس
  #6 (permalink)  
قديم 02-10-2008, 01:17 PM
مطور مشارك
تاريخ التسجيل: 18-03-2008
المشاركات: 23
افتراضي


للتوضيح فقط
سبب هذه المشاكل ان الداتاسنتر مركبة فايروول على السيرفر
و يقولون لازم أستخدم الايبيهات الخاصة private في اعدادات ال whm و ال apache ...
و بالمقابل استخدام الايبيهات العامة public في ال dns ..

هذا المشكل اتعبني جدا بحكم اني صادفته اول مرة ... أتمنى المساعدة و جزاكم الله خيرا
رد مع اقتباس
  #7 (permalink)  
قديم 03-10-2008, 06:43 AM
مطور مشارك
تاريخ التسجيل: 10-04-2008
المشاركات: 140
افتراضي


بالفعل اخى الابتشى( Apache ) واخد ايبهات برايفت لان ( Private Ip Address Lan ) طيب ممكن تكتب رابط موقع او اى بى ( ip ) يتم التصفح عن طريقة وذكر نوع الفايروال

وجرب هذا الحل اذهب الى ال
كود:
whm >> Basic cPanel/WHM Setup >> Main Shared Virtual Host IP
ثم ضع الاى بى الببليك والاساسى وبعدها جرب تقوم بانشاء موقع جديد وبلغنى بالناتج
تحياتى لك
علاء الدين
__________________
Head of Geeks
رد مع اقتباس
  #8 (permalink)  
قديم 03-10-2008, 10:33 AM
مطور مشارك
تاريخ التسجيل: 18-03-2008
المشاركات: 23
افتراضي


جزاك الله خيرا على المساعدة اخوي
فعلا جربت هذا الخيار لكن يصير مشكل مختلف :

المواقع تفتح فقط من خلال ال ip و لا تفتح من خلال الدومين
رد مع اقتباس
  #9 (permalink)  
قديم 03-10-2008, 10:57 AM
مطور مشارك
تاريخ التسجيل: 10-04-2008
المشاركات: 140
افتراضي


تمام بكدا قد تكون مشكلة الابتشى ( apache ) مع الاى بى ( ip ) انحلت باقى الدى ان اس ( dns )
كود:
cat /etc/nameserverips
وشوف هل هذا الاى بى هو الموجود اما ns او غيرة وتأكد بالدى ان اس زوم ( dns zone ) ان اعددادات الدى ان اس مظبطة

بالتوفيق ان شاء لله
__________________
Head of Geeks
رد مع اقتباس
 
أدوات الموضوع طرق مشاهدة الموضوع
إنشاء موضوع جديد  رد



أدوات الموضوع
طرق مشاهدة الموضوع

تعليمات المشاركة
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are معطلة
الانتقال السريع إلى

المواضيع المتشابهه
الموضوع كاتب الموضوع المعهد مشاركات آخر مشاركة
بخصوص المرفقات x.CJP.x مطور الحلول والمشاكل (دعم فني مجاني وسريع لمالكي المنتديات) 4 28-08-2008 01:58 PM


توقيت مطور + 3 على جرينتش حسب توقيت مكة المكرمة.
الساعة الآن: 01:29 AM


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
الحقوق محفوظة لكل المواقع العربية
عزيزي المطور ابتعد عن النقل، ولتكن مواضيعك جديدة وقيمة تعبر عن إبداعك وتميزك
 خريطة الموقع