Advertisement
hjysy

Domain Redirecting to /cgi-sys/defaultwebpage.cgi Page

Mar 18th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. Fix for Domain Redirecting to /cgi-sys/defaultwebpage.cgi Page
  2.  
  3.  
  4. ++++++++++++++
  5. If You want to buy cheap web hosting then visit http://listtop.pw and select the cheapest hosting. it can be suitable for all your needs.
  6.  
  7. Top 200 best traffic exchange sites http://listtop.pw/surf
  8.  
  9. Listtop.pw
  10. Listtop.pw
  11. Listtop.pw
  12.  
  13. +++++++++++++++
  14. Building your own website requires you to set up your domain on a web hosting service and add UI/UX to it via the control module or the cPanel. However, sometimes, when you have set up a website domain on your cPanel account and you try to view your website, it is magically redirected to your domain address//cgi-sys/defaultwebpage.cgi or a cgi-sys default page.
  15.  
  16. This is a 301 redirect, so it is remembered by the web browser as well as your operating system and the internet service provider (ISP).
  17.  
  18. WHY DOES THIS PROBLEM HAPPEN?
  19.  
  20. After we have set up our new domain, there is a certain amount of propagation delay before the site set-in. Until then, the browser stores a copy of the cgi-sys page and shows it over and over for a certain period of time.
  21.  
  22. THE SOLUTION
  23.  
  24. After all, if the problem persists, here are three ways in which you can solve the problem:
  25.  
  26. Check the domain’s A record, check dns zone and input commands like host, dig A to get an output. Now, search for the virtual host entry of that domain apache conf (/usr/local/apache/conf/httpd.conf). Next, search for your domain address in your apache conf. You can see some entries as follows:
  27. <VirtualHost 10.10.10.10:80>
  28.  
  29. ServerName domain.com
  30.  
  31. ServerAlias http://www.domian.com
  32.  
  33. DocumentRoot /home/domain/public_html
  34.  
  35.  
  36.  
  37. Set the domain A to 10.10.10.10 in apache conf to get the website on the requested domain.
  38.  
  39.  
  40.  
  41. Download and update your cPanel to Bleeding edge configuration. Remember to reset the settings back to STABLE release as soon as the bug is fixed.
  42. Login into WHM
  43.  
  44. http://domain.com:2086
  45.  
  46. User: root
  47.  
  48. Pass: [root password]
  49.  
  50.  
  51.  
  52. Click “update preferences” on the left menu under Server Configuration
  53.  
  54. Click “Manual Updates Only (bleeding EDGE tree)”
  55.  
  56. Click SAVE
  57.  
  58.  
  59.  
  60. Login into the server with root access Running update script
  61.  
  62. $/scripts/upcp –force
  63.  
  64.  
  65.  
  66. Rebuild httpd.conf
  67.  
  68. $/scripts/rebuildhttpdconf
  69.  
  70.  
  71.  
  72. Restart cpanel dan httpd
  73.  
  74. $/etc/init.d/cpanel restart
  75.  
  76. $/etc/init.d/httpd restart
  77.  
  78.  
  79.  
  80. If nothing works, wait for a couple of hours and clear your browser cache. The system likes to keep a lot of frivolous information stored in the form of caches in your browser. Once cleared, you will be able to access your domain without getting redirected to /cgi-sys/defaultwebpage.cgi.
  81. If you are still not able to fix your domain, call the web hosting support team as the last resort.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement