Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Using Existing Host for a Different URL

Using Existing Host for a Different URL
Thread Tools
Mac Enthusiast
Join Date: Jan 2001
Location: Los Angeles
Status: Offline
Reply With Quote
Apr 5, 2006, 03:06 PM
 
I'm working for a client who has an existing site. He's had me design a very simple second site for his side business, and I would like to use his existing host for that site. How do I do this? My understanding is that I need to make some sort of redirection script, but I know no more than this.

Can anyone help?

Thank you!
It's the devil's way now.
     
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Apr 5, 2006, 08:09 PM
 
if the site runs cpanel you can add a addon domain and point it to a directory on your site.
You shouldn't make fun of nerds... you'll be working for one some day.
     
Fresh-Faced Recruit
Join Date: Aug 2004
Status: Offline
Reply With Quote
Apr 6, 2006, 12:06 AM
 
As jay3ld said, his host should provide at least one add-on domain with his account.
maccrazy.net - Your
news, rumors and forums....
     
PookJP  (op)
Mac Enthusiast
Join Date: Jan 2001
Location: Los Angeles
Status: Offline
Reply With Quote
Apr 6, 2006, 12:35 AM
 
Originally Posted by jay3ld
if the site runs cpanel you can add a addon domain and point it to a directory on your site.
Aaah, how right you were. I put the DNS information into the appropriate place in the GoDaddy page, but now I'm not sure what to do. How do I specify which index goes for which site in the root folder?

Thanks for your help thus far.
It's the devil's way now.
     
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Apr 6, 2006, 10:06 AM
 
i think on the addon domain were it askes you what folder. just putting a folder name will do it in your public html. thats how ares is done. but i think you could do /home/urcpanelusername/site2_public_html/ and have a folder under ur main web root that points to that.
You shouldn't make fun of nerds... you'll be working for one some day.
     
Baninated
Join Date: Mar 2005
Location: An asteroid remanent of Tatooine.
Status: Offline
Reply With Quote
Apr 6, 2006, 11:57 AM
 
Originally Posted by jay3ld
i think on the addon domain were it askes you what folder. just putting a folder name will do it in your public html. thats how ares is done. but i think you could do /home/urcpanelusername/site2_public_html/ and have a folder under ur main web root that points to that.
That is not to be done manually. If the host has cpanel he has to go to the subdomains/add on domains category and go through the easy-to-use setup there for creating subdomains from prepurchased domain names and to create redirections.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:36 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2