Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-17-2006, 01:57 PM   #1
newbreed
Confirmed User
 
newbreed's Avatar
 
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
Easiest way to create a sub-domain through ssh with re-direct?

See title, I need to create some sub-domains on a server through ssh. Yes I googled it, no none of the first couple of pages helped.

Example - sub.domain.com

Anyone with some hints/tips i would greatly appreciate it

Thanks,
Bill
__________________

Loryn ‎(3:16 PM):
I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
fuck it we can have sex on money never did that before
newbreed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2006, 01:59 PM   #2
Thurbs
The Thrilla in Manila
 
Join Date: Sep 2004
Location: Thurbs' Lagoon, Christmas Island
Posts: 4,785
are u using linux? then its as simple as adding an A name in BIND and just another vhost segment in the apache conf.
Thurbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2006, 02:03 PM   #3
newbreed
Confirmed User
 
newbreed's Avatar
 
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
Quote:
Originally Posted by Thurbs
are u using linux? then its as simple as adding an A name in BIND and just another vhost segment in the apache conf.
Yes linux. The rest of that is greek to me...lol

I tried adding in in my ftp client and of course the domain then goes 404. I know there is a way to do it through an ssh client just don't know the correct directory to do it in or the proper shell command.

PS - Thanks for the help guys
__________________

Loryn ‎(3:16 PM):
I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
fuck it we can have sex on money never did that before
newbreed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2006, 02:10 PM   #4
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
Well, an SSH client is using a TTY over a regular console (so what you see is the real deal, just the fact that it's a secure (encryped) protocol makes it better than say telneting in).

You will need to as a previous post said open the Bind config file, put in an A record for whatever domain you want the sub on and restart bind. Do the same thing for the domain in your Apache config and restart Apache.. If you need more info I'm too lazy and buzzed at the moment.. but with that info google will help now

Last edited by HorseShit; 01-17-2006 at 02:12 PM..
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.