Knowledgebase

How to set up custom error pages in cPanelকিভাবে cPanel এ কাস্টম ত্রুটি পৃষ্ঠাগুলি সেট আপ করবেন Print

  • 0

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

  1. Prepare a simple HTML page for the status code you want to handle, such as a not-found page for 404.
  2. Upload it to the correct domain's document root using File Manager.
  3. Open Error Pages in cPanel, choose the domain and status code, then select or enter the page path as supported by the interface.
  4. 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 ত্রুটিগুলি ব্যাখ্যা করতে পারে এবং দর্শকদের পুনরুদ্ধার করতে সহায়তা করে৷ পৃষ্ঠাটি হালকা, অ্যাক্সেসযোগ্য হওয়া উচিত এবং সার্ভার পাথ বা ডায়াগনস্টিক বিশদ প্রকাশ করা এড়াতে হবে।

একটি ত্রুটি পৃষ্ঠা তৈরি করুন

  1. আপনি যে স্ট্যাটাস কোডটি পরিচালনা করতে চান তার জন্য একটি সাধারণ HTML পৃষ্ঠা প্রস্তুত করুন, যেমন 404-এর জন্য একটি খুঁজে পাওয়া যায়নি এমন পৃষ্ঠা।
  2. ফাইল ম্যানেজার ব্যবহার করে সঠিক ডোমেনের নথির রুটে এটি আপলোড করুন। CPanel-এ
  3. খুলুন ত্রুটি পৃষ্ঠাগুলি, ডোমেন এবং স্থিতি কোড চয়ন করুন, তারপর ইন্টারফেস দ্বারা সমর্থিত পৃষ্ঠার পথ নির্বাচন করুন বা প্রবেশ করুন৷
  4. সেটিংটি সংরক্ষণ করুন এবং একটি URL পরীক্ষা করুন যা ডোমেনে বিদ্যমান নেই৷

রাউটিং এবং আচরণ পরীক্ষা করুন

নিশ্চিত করুন যে পৃষ্ঠাটি নিজেই উদ্দিষ্ট স্থিতি কোড প্রদান করে এবং একটি পুনঃনির্দেশ লুপ তৈরি করে না। সঠিক অ্যাকাউন্টের মধ্যে পৃষ্ঠার পথ রাখুন এবং ব্যক্তিগত তথ্য অন্তর্ভুক্ত করা এড়িয়ে চলুন। যদি একটি প্রক্সি, অ্যাপ্লিকেশন রাউটার, বা .htaccess নিয়মও ত্রুটিগুলি পরিচালনা করে, নিশ্চিত করুন যে স্তরগুলি বিবাদ না করে৷ কাস্টম ম্যাপিং প্রত্যাবর্তন করুন যদি এটি সার্ভারের ত্রুটি সৃষ্টি করে বা একটি অ্যাপ্লিকেশন-নির্দিষ্ট ত্রুটি পৃষ্ঠা লুকিয়ে রাখে।

উপলব্ধ স্থিতি কোড এবং নিয়ন্ত্রণ cPanel বিল্ড দ্বারা পৃথক হতে পারে। ডোমেনের সাথে BOSS সাপোর্টের সাথে যোগাযোগ করুন এবং পৃষ্ঠাটি আশানুরূপভাবে প্রদর্শিত না হলে URL পরীক্ষা করুন৷

BOSS Solution: https://boss.com.bd | ক্লায়েন্ট এরিয়া: https://boss.com.bd/clientarea.php | সমর্থন: support@boss.com.bd।


Was this answer helpful?

Related Articles

Resolve a Missing DNS Zone Editor Feature in cPanelcPanel The message “You must have the zoneedit feature to take this action” generally means the cPanel... -এ একটি অনুপস্থিত DNS জোন এডিটর বৈশিষ্ট্য সমাধান করুন "এই পদক্ষেপ নেওয়ার জন্য আপনার অবশ্যই... Recover a File Deleted from cPanel File ManagercPanel ফাইল ম্যানেজার থেকে মুছে ফেলা একটি ফাইল পুনরুদ্ধার করুন Recovery depends on whether the file is still in File Manager’s Trash and whether a usable backup... Recovery ফাইলটি এখনও ফাইল ম্যানেজারের ট্র্যাশে আছে কিনা এবং একটি ব্যবহারযোগ্য ব্যাকআপ আছে কিনা... Troubleshoot “Cannot Connect to the Server” When Opening cPanelসমস্যা সমাধান করুন "সার্ভারের সাথে সংযোগ করা যাবে না" যখন cPanel খোলার সময় A cPanel connection failure can come from a mistyped address, local network filtering, DNS, an... A cPanel সংযোগ ব্যর্থতা একটি ভুল টাইপ করা ঠিকানা, স্থানীয় নেটওয়ার্ক ফিল্টারিং, DNS, একটি... Understand an Incorrect or Unlimited Disk Quota Displayএকটি ভুল বা আনলিমিটেড ডিস্ক কোটা ডিসপ্লে বুঝুন cPanel may show an unexpected zero, unlimited value, or usage percentage when the displayed quota... cPanel একটি অপ্রত্যাশিত শূন্য, সীমাহীন মান, বা ব্যবহারের শতাংশ দেখাতে পারে যখন প্রদর্শিত কোটাটি... Troubleshoot Common HTTP Status Errors on a Websiteএকটি ওয়েবসাইটে সাধারণ HTTP স্থিতি ত্রুটির সমস্যা সমাধান করুন HTTP status codes describe the result of a browser or application request. The code is a clue,... HTTP স্ট্যাটাস কোডগুলি একটি ব্রাউজার বা অ্যাপ্লিকেশন অনুরোধের ফলাফল বর্ণনা করে৷ কোডটি একটি ক্লু,...
Back


We are here to Talk to You