Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

So I am a poor college student, thus I can't afford dedicated hosting, cloud or anything fancy of the like...

However I managed to purchase myself two domain names say http://abc.com and http://def.com for two completely different PHP applications (both are CakePHP, database-driven applications). I also have an Economy hosting package from GoDaddy.

So, my question is: will I be able to host those two applications on the same host? Is it just as simple as creating two separate folders 'abc' and 'def' and have the domain names point to them?

I have found something of similar nature: http://stackoverflow.com/questions/4809112/hosting-two-domains-using-only-one-vps . Not sure if this will apply to my case using GoDaddy service.

Thanks for your help guys. I have never actually done deployment before. My whole life has been around LAMP stack local development. Hopefully this will clear up my mind a little.

share|improve this question

migrated from stackoverflow.com Sep 27 '11 at 3:06

This question came from our site for professional and enthusiast programmers.

3  
belongs on serverfault –  Daniel A. White Sep 27 '11 at 0:43
1  
Should be migrated, definitely –  tekknolagi Sep 27 '11 at 0:46
    
How do you suggest migration? –  tekknolagi Sep 27 '11 at 0:47
1  
@tekknolagi you have to have permission to vote to close. –  Daniel A. White Sep 27 '11 at 0:48
    
@Daniel Ah. Gotcha. the "flag" privilege or is it something different? –  tekknolagi Sep 27 '11 at 0:51

4 Answers 4

No, not on the GoDaddy Economy plan.
If you can take the jump to $7.99/mo instead, then you can go nuts with the domains.
Go to their hosting plans page, "Features" tab, "Domains" header(blue-ish color), "Multiple Web Sites"

A Small Orange have a "Tiny" plan at $25/year (since you're broke) that will support multiple domains, but even their more-regular Small plan is still a bit less than GoDaddy, along with multi-domains.

You might also ask yourself if you really need entirely separate domains for the apps. Your current Economy plan does allow you up to 25 sub-domains.

share|improve this answer

Generic answer: Yes, what you want is called Name-based Virtual Hosting.

Does GoDaddy support it? No idea.

share|improve this answer
1  
I dislike answering and then liking someone else's answer more :P –  tekknolagi Sep 27 '11 at 0:53

Short answer: yes. I use Webfaction for this, and have at least 8 domains on one account. It's wonderful!

share|improve this answer

You could deploy both application to your GoDaddy host and use HTML's iframe to load the one or the other through the two different names.

share|improve this answer
    
People still use iFrames...?! o.O –  tekknolagi Sep 27 '11 at 1:24
2  
Hm, no. I didn't claim this to be a good solution ;-) –  Stefan Pantke Sep 27 '11 at 2:09
    
^^Like^^ (What is this...facebook??) –  tekknolagi Sep 27 '11 at 5:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.