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: https://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.

  • 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

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.

| improve this answer | |

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

Does GoDaddy support it? No idea.

| 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!

| 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.

| 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy