A custom error page can explain common HTTP errors such as 403 or 404 and help visitors recover. The page should be lightweight, accessible, and avoid exposing server paths or diagnostic details.
Create an error page
- Prepare a simple HTML page for the status code you want to handle, such as a not-found page for 404.
- Upload it to the correct domain's document root using File Manager.
- Open Error Pages in cPanel, choose the domain and status code, then select or enter the page path as supported by the interface.
- Save the setting and test a URL that does not exist on the domain.
Check routing and behavior
Ensure the page itself returns the intended status code and does not create a redirect loop. Keep the page path within the correct account and avoid including private information. If a proxy, application router, or .htaccess rule also handles errors, make sure the layers do not conflict. Revert the custom mapping if it causes server errors or hides an application-specific error page.
The available status codes and controls may differ by cPanel build. Contact BOSS Support with the domain and test URL if the page does not appear as expected.
BOSS Solution: https://boss.com.bd | Client Area: https://boss.com.bd/clientarea.php | Support: support@boss.com.bd.
A কাস্টম ত্রুটি পৃষ্ঠাটি 403 বা 404 এর মতো সাধারণ HTTP ত্রুটিগুলি ব্যাখ্যা করতে পারে এবং দর্শকদের পুনরুদ্ধার করতে সহায়তা করে৷ পৃষ্ঠাটি হালকা, অ্যাক্সেসযোগ্য হওয়া উচিত এবং সার্ভার পাথ বা ডায়াগনস্টিক বিশদ প্রকাশ করা এড়াতে হবে।
একটি ত্রুটি পৃষ্ঠা তৈরি করুন
- আপনি যে স্ট্যাটাস কোডটি পরিচালনা করতে চান তার জন্য একটি সাধারণ HTML পৃষ্ঠা প্রস্তুত করুন, যেমন 404-এর জন্য একটি খুঁজে পাওয়া যায়নি এমন পৃষ্ঠা।
- ফাইল ম্যানেজার ব্যবহার করে সঠিক ডোমেনের নথির রুটে এটি আপলোড করুন। CPanel-এ
- খুলুন ত্রুটি পৃষ্ঠাগুলি, ডোমেন এবং স্থিতি কোড চয়ন করুন, তারপর ইন্টারফেস দ্বারা সমর্থিত পৃষ্ঠার পথ নির্বাচন করুন বা প্রবেশ করুন৷
- সেটিংটি সংরক্ষণ করুন এবং একটি URL পরীক্ষা করুন যা ডোমেনে বিদ্যমান নেই৷
রাউটিং এবং আচরণ পরীক্ষা করুন
নিশ্চিত করুন যে পৃষ্ঠাটি নিজেই উদ্দিষ্ট স্থিতি কোড প্রদান করে এবং একটি পুনঃনির্দেশ লুপ তৈরি করে না। সঠিক অ্যাকাউন্টের মধ্যে পৃষ্ঠার পথ রাখুন এবং ব্যক্তিগত তথ্য অন্তর্ভুক্ত করা এড়িয়ে চলুন। যদি একটি প্রক্সি, অ্যাপ্লিকেশন রাউটার, বা .htaccess নিয়মও ত্রুটিগুলি পরিচালনা করে, নিশ্চিত করুন যে স্তরগুলি বিবাদ না করে৷ কাস্টম ম্যাপিং প্রত্যাবর্তন করুন যদি এটি সার্ভারের ত্রুটি সৃষ্টি করে বা একটি অ্যাপ্লিকেশন-নির্দিষ্ট ত্রুটি পৃষ্ঠা লুকিয়ে রাখে।
উপলব্ধ স্থিতি কোড এবং নিয়ন্ত্রণ cPanel বিল্ড দ্বারা পৃথক হতে পারে। ডোমেনের সাথে BOSS সাপোর্টের সাথে যোগাযোগ করুন এবং পৃষ্ঠাটি আশানুরূপভাবে প্রদর্শিত না হলে URL পরীক্ষা করুন৷
BOSS Solution: https://boss.com.bd | ক্লায়েন্ট এরিয়া: https://boss.com.bd/clientarea.php | সমর্থন: support@boss.com.bd।