Web Hosting Forum | Lunarpages
News: April 3, 2008 - New Contest! - Win 5 Years of Hosting and $1,000!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 05, 2008, 05:01:13 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Domain + Subdomain Dilema  (Read 438 times)
Jack Matier
Newbie
*
Offline Offline

Posts: 3


« on: March 19, 2008, 11:32:01 AM »

For websites I design/make, I generally have two subdomains for each, correspondingly called alpha and beta.

The approach is here:
alpha.site1.com
beta.site1.com
www.site1.com

alpha.site2.com
beta.site2.com
www.site2.com


Immediately there is a problem here because it just adds 'alpha' to the main /public_html/ folder, and, well there can't be two of the same folder in one folder, which as logic goes *should not* happen. I mean this was in the first pages of DNS and BIND (First chapter anyway) What gives?

Said that, what am I doing wrong? I'd love to have /public_html/site1/[alpha,beta,active] and route those each through something like virtualhosts. I can work with that.
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 6741



WWW
« Reply #1 on: March 19, 2008, 11:35:47 AM »

Might be able to do this through some sort of htaccess redirect, but by default cPanel doesn't support subdomains for addon domains.  I hope that helps and if there is anything else we can do for you please feel free to let us know.  We are here to help with anything else you might need.  Thank you for your time.
Logged

Jack Matier
Newbie
*
Offline Offline

Posts: 3


« Reply #2 on: March 19, 2008, 09:32:35 PM »

That sounds a bit silly, but, thanks for the idea of a work around... I had looked into the solution a bit more and it just seems like a hack to me... I don't want to put too much strain on the server by having to mod_rewrite everything.

Not having this ability of being able to keep things organized is a *major* setback. Thus far the speed is fantastic, seriously, that's the fasted I've ever seen my ftp client move, and the server load is nice to see that you don't overload things to the brim.

I'll be moving to another server, but this will not get bad ratings in my mind.

Thanks for your time Smile
Logged
obmob
Pong! (the videogame) Master
*****
Offline Offline

Posts: 29


« Reply #3 on: April 24, 2008, 10:49:33 AM »

Oh, about this, i don't know why... but i had this problem with another webhost, they did something manually and accepted the second domain to have subdomains.

So, it is possible, not a total cpanel problem.
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 6741



WWW
« Reply #4 on: April 24, 2008, 11:10:28 AM »

At this time, it is not something that cPanel officially supports - so till they say it works 100%, I am sure Lunarpages will not either.  The problem is that it sometimes works and sometimes does not work - that is the reason it is not supported.
Logged

MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3031



« Reply #5 on: April 24, 2008, 04:48:16 PM »

What I do to organize mine is to have public_html/production/, public_html/development/, and sometimes other trees. Then public_html/index.php points to the production tree, index_dev.php points to the development tree, etc. Everything stays nicely separated without having to use a bunch of subdomains, which as mentioned before, isn't something that LP officially supports on add-on domains.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM