Bobcares

How to fix when cPanel temporary URL is not working in Litespeed servers

by | Jun 23, 2017

In cPanel servers that are running Lightspeed web server, we recently came across an issue after the latest cPanel update. The temporary URLs to access domains (IP/~username) stopped working.

While temporary URLs are disabled in some servers to protect bandwidth and for security reasons, there are many web hosts who provide this feature to their customers.

Today we’ll see what causes the temporary URL feature to stop working and how to fix it.

Why did cPanel temporary URL stop working?

cPanel temporary URL can be used by customers whose domain names are not properly resolving due to any DNS issues, mainly in these two scenarios:

  1. When customers are creating new websites and they want to test it before making them public.
  2. Customers who migrate their accounts from another hosting to your server, want to confirm that everything is fine, before switching the DNS to your server.

Using temporary URLs, customers can access their website using URLs such as “http://hostname/~username” or “http://IP-address/~username”.

This is possible with the help of a module called mod_userdir in web server. In WHM, there is a ‘mod_userdir’ tweak that can be used to configure this temporary URL feature.

But after the latest cPanel update, this temporary URL feature stopped working in servers that used Litespeed as the web server. Servers with Apache had no issues though.

See how our tech support team helps you!

How to get temporary URL feature to work in Litespeed servers

While Litespeed support team has intimated that they would fix the temporary URL feature in the next build LSWS 5.1.16 automatically, until then, here is the work around to get temporary URL feature working in your servers.

You can add “mod_passenger” to LSWS configuration “ignore apache configuration”. The feature to set is in the page ‘LSWS Web Admin Console -> configuration -> server -> general -> “ignore apache configuration”‘.

 

cpanel-temporary-url-litespeed

Add module to ignore list

 

[ You don’t have to lose your sleep to keep your customers happy. Get the best support specialists to care for your customers 24/7. ]

At Bobcares, our 24/7 server specialists manage the servers for web hosts and monitor all the services in it proactively to prevent an issue. If you would like to know how to reduce customer complaints in your hosting business, we are happy to talk to you.

 

GET 24 HOURS PHONE SUPPORT SERVICES

Use Bobcares for your phone support services. Ensure 24/7 coverage for your customers!

CONTACT US FOR 24/7 PHONE SUPPORT PLANS

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.