Register FAQ Members List Resources Store Search Today's Posts Mark Forums Read

Go Back   Netpond ™ > Webmaster Forums and Resources > Adult Webmasters Main Forum
Register FAQ Calendar Radio and TV NP Shop Search Today's Posts Mark Forums Read

Adult Webmasters Main Forum Friendly adult web master chat, help and information

Reality, College
Dating Gonzo, Movie Pass Voyeur, Fetish
Reply
 
LinkBack Thread Tools Display Modes
Old 04-21-2008, 12:53 PM   #1 (permalink)
SquareMan
im not here for the points it just looks like i am
 
Join Date: Mar 2008
Posts: 11
Points: 55
A question about subdomains ...

Guys I have one big problem creating independent subdomains ,
lets say my domain is , SQdomain.com , I want to have a secondary domain as separate site like Site1.SQdomain.com . I logged in to my cpanel and under the Domains section , I clicked the subdomain Icon and created that subdomain (site1.SQdomain.com) , later I've found out that this subdomain added as a subdirectory folder within my web site so the subdomain site can be accessed in both ways :
Site1.SQdomain.com and SQdomain.com/Site1/

I've checked other sites which are usin subdomains , and non of them were like that ( it's only accessable through the exact subdomain address , not by usnig slashes )

What should I do to have a real subdomain that can act as a seprate site ?
BTW I have a reseller hosting account .

Thanks
SquareMan is offline   Reply With Quote Send a private message to SquareMan
Old 04-21-2008, 12:58 PM   #2 (permalink)
docputer
Moderator
 
docputer's Avatar
 
Join Date: May 2006
Location: Midwest USA
Posts: 3,793
Points: 390
Send a message via ICQ to docputer Send a message via Yahoo to docputer
This would probably be a question best posed to your host.
docputer is online now   Reply With Quote Send a private message to docputer
Old 04-21-2008, 01:25 PM   #3 (permalink)
SquareMan
im not here for the points it just looks like i am
 
Join Date: Mar 2008
Posts: 11
Points: 55
Quote:
Originally Posted by docputer View Post
This would probably be a question best posed to your host.
Asked them , but they 've told me I need an extra ip ,
but i do know that's not true , tx bro
SquareMan is offline   Reply With Quote Send a private message to SquareMan
Old 04-21-2008, 01:44 PM   #4 (permalink)
Georgie
Nothing special to say here
 
Join Date: Dec 2007
Posts: 305
Points: 1,600
I think this largely depends on the control panel you use. On one of my hosts they used DirectAdmin, and it behaves in exactly this way. While it's not my favorite approach, it's passable for me, and I think there is a way to use rewrite in .htaccess to always bounce people from the subdir URL to the subdomain URL.

On another host that uses H-Sphere the subdomain is treated like a separate domain, in both the file system and in the URL. Everything is on the one same shared IP.
Georgie is online now   Reply With Quote Send a private message to Georgie
Old 04-21-2008, 01:57 PM   #5 (permalink)
SquareMan
im not here for the points it just looks like i am
 
Join Date: Mar 2008
Posts: 11
Points: 55
thanks georgie , i use both Cpanel and WHM (web host manager ) ,
Think i ve to do this in WHM ...
SquareMan is offline   Reply With Quote Send a private message to SquareMan
Old 04-21-2008, 02:05 PM   #6 (permalink)
REßEL
She cries MORE MORE MORE!
 
REßEL's Avatar
 
Join Date: Feb 2004
Location: Apparently I'm a bitch a cunt a fuckhead and a troll. I'm also RIGHT!
Posts: 9,179
Points: 14,536
Send a message via ICQ to REßEL
Try adding the sub domain as a new domain rather than a sub domain.
__________________
I work smarter not harder with the following awesome tools!
Gallery Submitter | Blogs Organizer | Gallery Scraper | Site Organizer | Links Organizer
REßEL is offline   Reply With Quote Send a private message to REßEL
Old 04-21-2008, 02:13 PM   #7 (permalink)
seeandsee
■ Finest Spam Moderator ■
 
seeandsee's Avatar
 
Join Date: Jul 2005
Location: ~ SEE SIG ~
Posts: 13,646
Points: 0
Send a message via ICQ to seeandsee
In my CP at CW, when i make subdomain named subdomain1 for example, i can access that subdomain like http://www.site-i-used-when-i-open-a...om/subdomain1/ [master domain] and subdomain1.domain-i-want.com
seeandsee is online now   Reply With Quote Send a private message to seeandsee
Old 04-21-2008, 02:28 PM   #8 (permalink)
Head Boy
c@rnage
 
Head Boy's Avatar
 
Join Date: Feb 2004
Location: England
Posts: 43,473
Points: 8,140
That seems to be the way cpanel works. It also creates sub-domains and sub-directories for add-on domains, even though they are 2nd level names.
Head Boy is offline   Reply With Quote Send a private message to Head Boy
Old 04-21-2008, 02:55 PM   #9 (permalink)
SquareMan
im not here for the points it just looks like i am
 
Join Date: Mar 2008
Posts: 11
Points: 55
Quote:
Try adding the sub domain as a new domain rather than a sub domain
How can i do that ?


Quote:
In my CP at CW, when i make subdomain named subdomain1 for example, i can access that subdomain like http://www.site-i-used-when-i-open-a...om/subdomain1/ [master domain] and subdomain1.domain-i-want.com
that's exactly the main problem , i know theres another trick which makes it works like a separate site , and you cannot access that subdomain from the main address (e.g http://www.site-i-used-when-i-open-a...om/subdomain1/)

Quote:
That seems to be the way cpanel works. It also creates sub-domains and sub-directories for add-on domains, even though they are 2nd level names.
True , by creating subdomains from Cpanel itself you will only have a pointer to another subdirectory in your server , This way if any search engine roboty finds one of the subdomain sites and decides to remove it from the Index all the other subdomains sites are are gone .
What am i speaking is only possible on dedicated,VPs and reseller hosting , dont know why , but I think that's something about DNS configuration (??)
SquareMan is offline   Reply With Quote Send a private message to SquareMan
Old 04-21-2008, 05:31 PM   #10 (permalink)
Georgie
Nothing special to say here
 
Join Date: Dec 2007
Posts: 305
Points: 1,600
Quote:
Originally Posted by SquareMan View Post
What am i speaking is only possible on dedicated,VPs and reseller hosting , dont know why , but I think that's something about DNS configuration (??)
No, it's all about the control panel. I have a dedicated box that also used DirectAdmin and I'm still limited to subdomains actually being subdirectories under the main domain.

If your hosts allows, they may be able to manually set you up outside the panel the way you want, but most control panels have a habit of undoing the changes the next time your account is updated (daily, whatever). So apart from using a different host that has a different panel, about the only other things is to disable the panel completely and do everything (DNS) manually.
Georgie is online now   Reply With Quote Send a private message to Georgie
Old 04-21-2008, 05:42 PM   #11 (permalink)
RobertFrans
I'm the Sexy one!
 
Join Date: Aug 2007
Location: Linköping
Posts: 282
Points: 4,630
hmm lets throw in some input.

a REAL subdomain you set in your DNS. (most hosts take care of the dns for you and or you ask them todo it or they have a admin panel where you can do it)

yoursite.com and E-Commerce Hosting (most of time point to the same site) but www. is just a subdomain ;-) setup in your dns.

In your apache configuration file .. you set domain.com and domain.com - Get online with a domain name and web hosting to point to the right folder.

setting up a new sub domain .. you would set in your DNS site1.domain.com and pointing to teh same IP as the rest (unless you want/have differnt ip's)

Then in your apache configuration file .. you point to a differnt folder.

You can also fake this .. by setting in your dns *.domain.com and every sub domain would just link to the same site... then with php you could fish out the subdomain and show something differnt based on the subdomain.

@panels ... I never use them, I don't know much about linux .. but I guess have been computer savy enough to learn the things I need to know to get my servers the way I want it and not being limited to panels .. that do everything I don't want .. hehe

EDIT:

Don't bother the links .. crappy title addon! ;-)
RobertFrans is offline   Reply With Quote Send a private message to RobertFrans
Old 04-21-2008, 06:05 PM   #12 (permalink)
SquareMan
im not here for the points it just looks like i am
 
Join Date: Mar 2008
Posts: 11
Points: 55
Question

thanks for the inputs gents ,

by manipulating the records that are held in DNS servers , sure is possible to define a new sub domain
(e.g $ORIGIN subdomain.domain.com.
www IN A xxx.xxx.xxx.xxx) , but am not sure if it is a good choice going deep into creating such records .

I tried and added my subdomains directly from WHM (while creating a new account) without further configuration and it seems working well . This time the only possible way to access each subdomain is only by typing its address , e.g Site1.Sqdomain.com works but SQdomain.com/Site1 doesnt exist !

But still am not sure if it is the way i have to create my subdomains , considering the trick above , you think that if SEs remove one of the subdomains from the index will the rest work fine or its like the past situation (Where both Site1.SQdomain.com and SQdomain.com/Site1 refer to the same place i.e subdirectory) ?
SquareMan is offline   Reply With Quote Send a private message to SquareMan
Old 04-21-2008, 06:24 PM   #13 (permalink)
RobertFrans
I'm the Sexy one!
 
Join Date: Aug 2007
Location: Linköping
Posts: 282
Points: 4,630
Since you're using an admin panel on your server it would be best to go with that and let it create the stuff for you. (if you manually go change things there is a big chance as soon your admin panel notices it .. it will change it back to what it thinks it should be).

As far with DNS records .. when you register a domain by a registar you going to set name servers given by your host. (well most of the time).

examaple.

Nameserver1.yourhost.com
Nameserver2.yourhost.com

in the end that results when I type in your domain in my browser I get redirected to your host name servers and they send me to your server (IP)

so if you create a sub domain it would be best to have it in your DNS even if it points to the same IP

(maybe in a far far future, your subdomain would get so much traffic you want to run from a differnt server then your main site .. in that case you only have to change the ip in your dns records and you're done.)

Lots of people have static . domain . com ... to host their images / videos from that often points to a diffent cheaper server with just lots of bandwidth. (thats just set in the DNS to point to what-ever server they use for that)
RobertFrans is offline   Reply With Quote Send a private message to RobertFrans
Old 04-21-2008, 07:58 PM   #14 (permalink)
Georgie
Nothing special to say here
 
Join Date: Dec 2007
Posts: 305
Points: 1,600
Quote:
Originally Posted by SquareMan View Post
you think that if SEs remove one of the subdomains from the index will the rest work fine or its like the past situation (Where both Site1.SQdomain.com and SQdomain.com/Site1 refer to the same place i.e subdirectory) ?
Not sure why you're worried about this, as long as you only let the SE crawl the subdirectory, or the subdomain, but not both. If you're talking about an SE removing a subdomain because of Black Hat tricks or other bad content, how it handles this situation depends on on the policies in effect at the time, the nature of the content, and whether many subdomains also have to be removed.

Unless you have links to the subdirectory, SEs should never crawl that and so the "duplicate" will remain undiscoverable. But as I mentioned before, it should be possible to use a little mod rewrite to direct any subdir traffic (should it ever exist) into the subdomain. I'm not a mod rewrite expert, but I'm sure there are examples of this around.

IF an SE ever did find the subdir, you'd use permanent redirects to inform it that the content in the subdir has been permanently moved to your subdomain. Any good SE will not treat this as duplicate content.
Georgie is online now   Reply With Quote Send a private message to Georgie
Old 04-22-2008, 04:07 AM   #15 (permalink)
SquareMan
im not here for the points it just looks like i am
 
Join Date: Mar 2008
Posts: 11
Points: 55
Quote:
as long as you only let the SE crawl the subdirectory, or the subdomain, but not both.

Thanks , that's what i wanted to know . Seems there's no duplicate content now , each subdomain has a separate hosting account .

Previously I was using only a hosting account with several subcategories and each subdomain pointed to one of those subcategories , that way you reached for example an IMG by both typing the subdomain itself or themaindomain.com/subdomain .

thanks.
SquareMan is offline   Reply With Quote Send a private message to SquareMan
Reply


Thread Tools
Display Modes



Netpond Resources
Resource Directory Tutorials & Articles Webmaster Tools Netpond News
 
Netpond Resources
LoveDollars WildCash PussyCash SilverCash
Fetish Hits Cyberwurx Platinum Bucks Python
AEBN GroobyBucks Score-Cash XMoney
Rabbits Reviews CraziesCash TrafficCashGold EvilAngelCash
Orgycash BigClicks Webcams Cyberbit
Free Porn Paradise British Porno British Porn Models ShanesworldCash
Megasite, Gay, Shemale, Fetish Shemale, Asian
All times are GMT -4. The time now is 12:14 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007, PixelFX Studios