hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : cPanel use user.domain.com instead of /~
Reply

Hosting Software and Control Panels Software used in the web hosting industry. Topics include control panels, add-on software, setup scripts, etc.
Forum Jump

cPanel use user.domain.com instead of /~

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-11-2010, 03:02 PM
griffe griffe is offline
Newbie
 
Join Date: Oct 2009
Posts: 26

cPanel use user.domain.com instead of /~


Hello,

In cPanel, by default, you can reach any domain by entering hostname.com/~cpaneluser

This is a great feature for many reasons...

However - I was wondering - Is there a way to automatically use cpaneluser.hostname.com instead?

I know I can create a virtual host entry in my Apache config.. but I am looking for something automated...?

Any ideas?

Thanks!

Reply With Quote


Sponsored Links
  #2  
Old 05-12-2010, 12:13 AM
qualityhostings qualityhostings is offline
Web Hosting Master
 
Join Date: May 2007
Location: God's own country!
Posts: 647
Quote:
hostname.com/~cpaneluser
This is a bad habit, allowing this will help a hacker to upload their stuffs and access it without a domain. It will also not count the bandwidth usage .

__________________
SunShell™ Hosting
Shared, Reseller, Master Reseller,VPS and Dedicated Server Hosting since 2006

Reply With Quote
  #3  
Old 05-12-2010, 12:20 AM
griffe griffe is offline
Newbie
 
Join Date: Oct 2009
Posts: 26
Quote:
Originally Posted by qualityhostings View Post
This is a bad habit, allowing this will help a hacker to upload their stuffs and access it without a domain. It will also not count the bandwidth usage .
True.. If I was a bulk host (which were not). As a software developer we need this function.

Any ideas on how to accomplish it?

Reply With Quote
Sponsored Links
  #4  
Old 05-12-2010, 01:08 AM
VIPoint VIPoint is offline
Web Hosting Master
 
Join Date: Mar 2009
Posts: 968
I don't think that it's possible via cPanel front end. However, you can write a custom script to add a subdomain via backend, whenever a new account is created.

__________________
Level I-II, Level III, Senior SysAdmins & Full 24x7 Teams
Dedicated Linux Server Admins in Infopark Tech Park, India
VIPoint Pvt. Ltd | http://www.vipointsolutions.com
E-Mail: Sales@VIPointSolutions.com

Reply With Quote
  #5  
Old 05-12-2010, 01:29 AM
agustan agustan is offline
Web Hosting Master
 
Join Date: Feb 2010
Location: Jakarta
Posts: 1,103
Interesting
I'm also curious if that user sub-domain format can be created automatically after new user account is setup.
Anyone has done this? kindly to share?

__________________
Web Hosting Business Guide Book - Getting & Managing Your First 1,000 Clients in Web Hosting
Enter Your cPanel Login & We'll Back It Up, Every Day! - SiteAutoBackup.Com
Got WHM instead? Enter your WHM login and we'll backup everything, everyday. It's simple.

Reply With Quote
  #6  
Old 05-12-2010, 05:42 PM
cPanelDavidG cPanelDavidG is offline
Web Hosting Master
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 563
Quote:
Originally Posted by agustan View Post
Interesting
I'm also curious if that user sub-domain format can be created automatically after new user account is setup.
Anyone has done this? kindly to share?
There are several providers that already do this. Basically, the way this is typically accomplished is via a custom script executed using the /scripts/postwwwacct hook to generate the parked domain.

__________________
David Grega
cPanel Technical Product Specialist

Reply With Quote
  #7  
Old 12-02-2010, 01:52 AM
griffe griffe is offline
Newbie
 
Join Date: Oct 2009
Posts: 26
Quote:
Originally Posted by cPanelDavidG View Post
There are several providers that already do this. Basically, the way this is typically accomplished is via a custom script executed using the /scripts/postwwwacct hook to generate the parked domain.
Hmm.. Thanks - can you give me an example of how this script would look??

Reply With Quote
  #8  
Old 12-04-2010, 03:50 AM
SoftDux SoftDux is offline
Web Hosting Master
 
Join Date: Mar 2006
Location: Johannesburg,South Africa
Posts: 588
Quote:
Originally Posted by qualityhostings View Post
This is a bad habit, allowing this will help a hacker to upload their stuffs and access it without a domain. It will also not count the bandwidth usage .
How, exactly, will this help a hacker "upload their stuffs" ?

__________________
South African Web Hosting - http://www.SoftDux.co.za || SA WebHostingTalk - http://www.webhostingtalk.co.za

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Prevent Cpanel User From Using A Particular Domain As Addon Or Parked? bibleman Hosting Security and Technology 5 08-26-2009 04:25 PM
How to remove hosting account, domain and user by SSH i my cpanel server? 0218 Hosting Security and Technology 9 06-23-2008 08:51 AM
Redirect domain/user to user.domain ONLY IF folder 'user' doesn't exist ThatScriptGuy Hosting Security and Technology 3 05-07-2007 07:17 PM
Redirect domain/user to user.domain ONLY IF folder 'user' doesn't exist ThatScriptGuy Programming Discussion 2 05-07-2007 07:16 PM
Cpanel: How to add more domain name by user? solis Hosting Software and Control Panels 1 12-22-2004 05:43 PM

Related posts from TheWhir.com
Title Type Date Posted
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
A First Look at cPanel’s new User Interface Web Hosting News 2011-09-15 19:35:40


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?