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 05-14-2002, 11:16 PM   #1
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Virtual Domain Hosting????

Anybody know how to do this?

I've got a domain at domaina.com with an IP address xxx.xxx.xxx.xxx

I want domainb.com to point to domaina.com/domainb

I made an index.cgi but it doesn't display domainb.com in the location it displays domaina.com/domainb

How would I make it say domainb.com in the location?

I read some text at http://httpd.apache.org/docs/vhosts/examples.html

about apache, but I am just confused.



Thanks,

Will
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 01:04 AM   #2
hyper
Confirmed User
 
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
#
# In this file, you need only change the value "yourdomain" to match
# your real domain ("whatever\.com", and all "." must be prefixed with a "\")
#
# Then you create the "subdomains" directory in your public_html directory
# and create in that directories named for the subdomain you want:
# http://iwantthis.yourdomain/ would be in /public_html/subdomains/iwantthis/
#
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain$ [NC,OR]
RewriteCond %{REQUEST_URI} ^/?subdomains/ [NC]
RewriteRule ^. - [L]
RewriteCond %{HTTP_HOST} ^(www\.)?[^.]+\.yourdomain$ [NC]
RewriteCond %{REQUEST_URI} !^(www\.)?[^.]+\.yourdomain$ [NC]
RewriteRule ^(.+) %{HTTP_HOST}/$1 [NC]
RewriteRule ^(www\.)?([^.]+)\.yourdomain/(.*) /subdomains/$2/$3 [L]
__________________
hyper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 03:21 AM   #3
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
is this insrted in my .htaccess file?
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 03:31 AM   #4
-=HUNGRYMAN=-
Confirmed User
 
Join Date: Jun 2001
Location: Between your mamma's legs
Posts: 4,753
This is MUCH easier .... go to www.zoneedit.com and sign up ...
they offer FREE domain forwarding for up to 5 domails ... as well as free unlimited email forwarding for the same domains ...

and you can cloak the domain name as well .... I have used this service for directing many of the .NETs I own to the .COMs ...
__________________
-=HUNGRYMAN=- is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 09:43 AM   #5
oscer
Confirmed User
 
Industry Role:
Join Date: Jan 2001
Location: Baltimore
Posts: 2,834
Quote:
Originally posted by GFED
Anybody know how to do this?

I've got a domain at domaina.com with an IP address xxx.xxx.xxx.xxx

I want domainb.com to point to domaina.com/domainb

I made an index.cgi but it doesn't display domainb.com in the location it displays domaina.com/domainb

How would I make it say domainb.com in the location?

I read some text at http://httpd.apache.org/docs/vhosts/examples.html

about apache, but I am just confused.



Thanks,

Will


Normally This is DOne in DNS.

You might want to learn Bind It is not a Easy task one little messup will crash the whole thing
__________________
XR Networks
Dedicated | VPS | Shared Hosting
ICQ 42602565
oscer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 09:53 AM   #6
hyper
Confirmed User
 
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
Quote:
Originally posted by GFED
is this insrted in my .htaccess file?
yes
__________________
hyper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2002, 07:06 PM   #7
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Quote:
Originally posted by hyper

yes
It takes away my permission to view the page...
GFED 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.