hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : [PLESK] Various questions from a n00b
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

[PLESK] Various questions from a n00b

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 12-16-2004, 06:25 PM
vfouquereau vfouquereau is offline
Newbie
 
Join Date: May 2004
Location: Québec, Canada
Posts: 23

[PLESK] Various questions from a n00b


Hi all,

I have a problem. Well, some problems.

1- How do I create a subdomain on my site that will point to a directory on my site? In Plesk, all I have to give for information is the name of the subdomain and... well... that's it! I thought subdomains were like : admin.mydomain.com -> mydomain.com/admin/ ... Is that it? Is there something missing in my Plesk Panel?

2- How do I create LOCKED directories in Plesk? I created a "SSL" and "NON-SSL" protection on a folder on my site but it's never protected! i.e : mydomain.com/secure/ ... I create a protected entry pointing on "/httpdocs/secure/ " but it never asks me to log using the user I provided...

Thanks for any help.

Reply With Quote


Sponsored Links
  #2  
Old 12-16-2004, 10:39 PM
Dan L Dan L is offline
Web Developer
 
Join Date: Feb 2003
Location: Connecticut
Posts: 5,441
1: Plesk has two ways to use subdomains.. you can either create a subdomain as a domain, where it is treated like a domain, or have it as a plain subdomain, where it is in a subdomains/ folder parallel to httpdocs and the like.

2: If all you want is SSL, you would use httpdocs/ and httpsdoc/ respectively.

Reply With Quote
  #3  
Old 12-16-2004, 10:48 PM
vfouquereau vfouquereau is offline
Newbie
 
Join Date: May 2004
Location: Québec, Canada
Posts: 23
Okay, I got the locking work! Well... It worked alone! I just had to wait.

For the subdomain thing, I just want to make it work like it works anywhere else!!!

You know, like when there is a site that do "my.thesite.com" like deviant art...

Reply With Quote
Sponsored Links
  #4  
Old 12-16-2004, 11:08 PM
Dan L Dan L is offline
Web Developer
 
Join Date: Feb 2003
Location: Connecticut
Posts: 5,441
DeviantArt uses something like mod_rewrite, as far as I know (no control panels to interfere). Basically the subdomain name is passed to a script, and the script queries a mysql database.

Reply With Quote
  #5  
Old 12-16-2004, 11:11 PM
vfouquereau vfouquereau is offline
Newbie
 
Join Date: May 2004
Location: Québec, Canada
Posts: 23
I found my subdomain folders on my FTP. Okay, there is a directory called what I typed when I created my subdomain in this folder. The problem is EVEN if I upload stuff in these folders, the server does not recognoze them! I uploaded an index.html in each subdomain I created and none of them work either.

Man, this is frustrating.

Reply With Quote
  #6  
Old 12-17-2004, 09:17 AM
Cephren Cephren is offline
Registered User
 
Join Date: Jun 2001
Posts: 596
You might want to restart httpd. Sometimes this happens, when you create a new subdomain, the httpd doesnt reload in plesk.
Happened to couple of our Plesk servers.... where we create the subdomain, we see the new folder created inside /domain.com/subdomains/newsite/httpdocs
but it doesnt appear. (also make sure the DNS is correct)


/etc/init.d/httpd reload
or
/etc/init.d/httpd restart

Reply With Quote
  #7  
Old 12-17-2004, 01:57 PM
vfouquereau vfouquereau is offline
Newbie
 
Join Date: May 2004
Location: Québec, Canada
Posts: 23
Well, my host updated the DNS of those subdomains and it works now.

Now, how can I protect that subdomain with a password? I can protect a folder in my main domain but how to protect the like of "admin.mydomain.com" ?

Reply With Quote
  #8  
Old 12-17-2004, 05:54 PM
Dan L Dan L is offline
Web Developer
 
Join Date: Feb 2003
Location: Connecticut
Posts: 5,441
Use .htaccess. (Google it.)

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Cirrus Tech Improves Plesk Integration, Expands OS Offerings with VPS Services Web Hosting News 2012-09-28 14:21:20
Parallels Plesk Panel Vulnerability Revealed by Hacker Selling Exploit Web Hosting News 2012-07-11 10:34:13
WHIR Demo: Parallels Plesk Panel Whir Tv 2012-03-06 18:07:47
Parallels Plesk Flaw Left FTC Websites Open to Security Breaches Web Hosting News 2012-02-23 13:32:43
Web Host myhosting Offers Parallels Plesk Panel 10 VPS Plans Web Hosting News 2011-07-07 19:54:45


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?