المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : [ شرح طريقة ] طريقـة تغيير الصفحـة الافتراضيـة للسيرفر SERVER ..



admin
11-02-2013, بتوقيت غرينيتش 12:50 AM
السلام عليكمـ ..
الكثير منـا يود أن يغير الصفحـة الافتراضيـة لسيرفر SERVERة أو صفحـة الايبيهـات الافتراضيـة للسيرفر SERVER و على سبيل المثـال ..

http://216.246.7.95

رمز PHP:

<code style="white-space:nowrap"> <code> Great Success !
Apache is working on your cPanel® and WHM™ Server
If you can see this page, then the people who manage this server have installed cPanel and WebHost Manager (WHM) which use the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content.

ATTENTION!
If you are seeing this page instead of the site you expected, please contact the administrator of the site involved. (Try sending an email to <webmaster@domain>.) Although this site is running cPanel, WebHost Manager, and Apache software it almost certainly has no other connection to cPanel Inc. or the Apache Group. Please do not send mail about this site or its contents to cPanel Inc. or the Apache Group.

About cPanel:
cPanel is a leading provider of software for the webhosting industry. If you would like to learn more about cPanel please visit our website at http://www.cpanel.net/. Please be advised that cPanel Inc. is not a web hosting company, and as such has no control over content found elsewhere on this site.

About Apache HTTP Server:
The Apache HTTP Server is an open source web server which powers many of the worlds web sites. The Apache HTTP server is part of the Apache Group's many influential projects. Their efforts have helped shape much the world wide web, and they continue to be a dominating force in the web hosting industry.
</code> </code>

لنقومـ بتغييرهـا الآن الى الصفحـة التى نريدهـا و على سبيل المثـال ..

http://72.232.163.74/

اذا أعجبتك الفكرة فالتقـمـ بالتالى ..




قم بإعداد الصفحـة الافتراضية التى تناسبك و من ثم قم برفعهـا الى مجلد موقعك ..
قم بالدخول الى سيرفر SERVERك بالمستخدم root باستخدام الـ SSH
و قم بتنفيذ الأمر التالى
رمز PHP:

<code style="white-space:nowrap"> <code> mv /home/user/public_html/index.html /usr/local/apache/htdocs
</code> </code>

استبدل user باسم المستخدم الخاص بك

و بالتوفيق للجميع ان شــاء الله ..




https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى