arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Point IP to Show Specific Domain with Cyberpanel
#2
Someone else faced this problem too. Here is the solution they've pointed out.

Quote:speedy200man
November 2018
I have found a way to do it. The steps are:
1. Go to openlitespeed admin page (:7080), go to Virtual Hosts and add a new vhost.
2. Fill in these details:
Virtual Host Name: *
Virtual Host Root: /home/default (or any folder you want)
Config File: $SERVER_ROOT/conf/vhosts/defaultvh/vhconf.conf
Folow Symbolik Link, Enable Scripts, Restrained - all set to yes.
3. Add the vhost, then click the view button and go to General tab.
4. Click on the pencil icon to edit the first group, and set the following:
Document Root: /home/default (or the folder you defined on the previous step)
Domain Name: *
5. Click on save and then do a graceful restart using the icon on the top.
6. Go to Listeners, click on the view icon from the Default, port 80 line.
7. On Virtual Host Mappings, add a new one, choosing * as virtual host type * on Domains.
8. Do a graceful restart of LSWS.
9. Place the files (html, images, etc.) in the Document Root defined earlier.
10. Enjoy!

ps: if you still get a 404 error page, run this command:
chown -R nobody:nobody /home/default

Credits:- https://forums.cyberpanel.net/discussion...o-404-page
Premium Web Hosting | ShadowCrypt | Manal Shaikh Official Website
If you find my post/thread useful, you're supposed to +rep me. 
lockThread Closed 


Messages In This Thread
RE: Point IP to Show Specific Domain with Cyberpanel - by Manal - 07-12-2019, 01:13 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
5,618
02-13-2020, 09:50 AM
Last Post: deanhills
2,759
08-13-2019, 02:09 PM
Last Post: Rehan
4,437
06-22-2018, 07:19 PM
Last Post: sagher
16,548
08-31-2016, 02:27 PM
Last Post: TrK

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting