Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 08-01-2007, 01:33 PM
hosting hosting is offline
Hatchling Croc
 
Join Date: Aug 2007
Posts: 1
Default addon subdomain on main reseller account

i'm working on my reseller account company.com for a addon subdomain.

i just got a working subdomain sub1.company.com which is serving files from the path /home/hosting/public_html/sub1 which can be accessed theough
http://sub1.company.com/.running

then i need another subdomain sub2.company.com which uses the same folder /home/hosting/public_html/sub1
that means when surfers type
http://sub2.onelivehosting.com/.running, they're accessing /home/hosting/public_html/sub1/.running and the browser address bar remains at sub2.company.com instead of sub1.company.com

i tried addon domain but it needs a new domain name, instead of subdomain. Also, subdomain and redirect don't work because the URL will be changed.

and i can't change DocumentRoot and Alias in .htaccess inside the new subfolder (sub2)

Any advice ?
Reply With Quote
  #2  
Old 08-01-2007, 01:45 PM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: addon subdomain on main reseller account

You will need to remove the 2nd subdomain then create an A record in whm for sub2.domain.com to point to sub1.domain.com
Reply With Quote
  #3  
Old 08-03-2007, 09:58 AM
GatorDat
HostGator Guest
 
Posts: n/a
Default Re: addon subdomain on main reseller account

You could also set up a redirect.
Reply With Quote
Reply

Bookmarks

Thread Tools

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

Forum Jump

All times are GMT -5. The time now is 03:53 PM.