Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th July 2006, 12:51
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default a simple question on sub-domain forwarding... I think...

I hope the question is simple - but I can't figure it out myself...

Let's say I created a user web1_music. A folder /srv/www/web1/user/web1_music is created automatically. This is the folder where I get when I log in with an ftp client with the username 'web1_music'. OK, this folder has 'web' subfolder - and I want to forward sub-domain music.mydomain.com to this folder. But I don't know how! If I put the full path /srv/www/web1/user/web1_music/web to the 'forward' field of the sub-domain - I get the 'page not found' error! If I put simply 'music' there - everything is fine, the forwarding works to http://www.mydomain.com/music.

Can I forward to /srv/www/web1/user/web1_music/web?
Reply With Quote
Sponsored Links
  #2  
Old 26th July 2006, 14:03
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
Default

Leave Forward field empty..
Reply With Quote
  #3  
Old 26th July 2006, 14:37
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default

thank you, but if this field is left empty, the main page of the site is displayed...
Reply With Quote
  #4  
Old 26th July 2006, 15:01
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
Default

Oh you mean users account, sorry missed that part.. Not sure if its possible..
users web is accessed by domain.tpl/~user so.. you would probably have to change config file to work that but wait for someone elses answer..
Reply With Quote
  #5  
Old 26th July 2006, 15:53
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default

Actually, all I want to do is to grant separate ftp access to folders that hold subdomains. If I have music.mydomain.com subdomain - how can I grant ftp access ONLY to a folder holding it? (It doesn't really matter if this folder is in the user area or if it's a sub-folder of the main site).
Reply With Quote
  #6  
Old 26th July 2006, 21:32
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default

By the way, when I try to put in the 'forward' field an url like:
http://www.mydomain.com/~web1_music/
ispconfig returns an error - something about illegal characters.

At the same time this url works fine if I just type it in the browser.
Reply With Quote
  #7  
Old 27th July 2006, 09:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

You can use this notation instaed:

http://www.domain.tld/users/web1_music/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 27th July 2006, 10:37
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default

Thank you very much indeed! That's all I need!
Reply With Quote
  #9  
Old 1st August 2007, 17:49
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by till
You can use this notation instaed:

http://www.domain.tld/users/web1_music/
Is there a way i could use something like this to allow someone to temporarily view their website, while the dns is updating with their new domain name.

for instance:
I am the host.
www.3cwired.com

you come to the site purchase package for foobar.com

while dns is updating, can I make it where you can access your temp web location to

www.3cwired.com/users/foobar or webxx_foobar?
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #10  
Old 2nd August 2007, 17:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

Quote:
Originally Posted by 3cwired_com
for instance:
I am the host.
www.3cwired.com

you come to the site purchase package for foobar.com

while dns is updating, can I make it where you can access your temp web location to

www.3cwired.com/users/foobar or webxx_foobar?
You could try to set up a symlink from www.3cwired.com/users/foobar to the new web site. Of course, the www.3cwired.com vhost must be configured to allow symlinks: http://httpd.apache.org/docs/2.0/mod/core.html#options (FollowSymLinks)
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple question... I think - re: multiple domains. lidocayne Installation/Configuration 1 17th July 2006 11:53
simple question: re domain www.foobar.com.foobar.com bryxal Installation/Configuration 2 2nd June 2006 22:04
Forwarding Question For Virtual Users And Domains With Postfix, Courier And MySQL (+ mrjjman HOWTO-Related Questions 3 6th April 2006 11:23
question about hostname and domain Ovidiu Installation/Configuration 26 8th March 2006 10:56
Newbie domain question magnarl Installation/Configuration 2 26th December 2005 14:28


All times are GMT +2. The time now is 22:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.