Linux hosting or Windows Hosting?

Discussion in 'Programming' started by hobodude666, Jul 4, 2007.

  1. #1
    Im currenlty using window hosting with godaddy and the application for it to run my website and forums + blogs are horrible. DNN has its restrictions and wont let me install properly into root. Community Server is too confusing cause i got no clue how to edit the contents (help here?).

    Now that windows hosting has failed me completely. I am going to call godaddy and ask for a transfer to linux hosting with php at no charge cause im using window hosting deluxe alreay anyway, hopefully they'll let me.

    Problem - My PC is windows xp sp2, do i need linux os to code for a linux hosting server? I never used linux before will this be a problem?

    Goal - Website with Blog, links to personal site, many files, forums, a database for login/sign up/register etc.
     
    hobodude666, Jul 4, 2007 IP
  2. ProgrammersTalk

    ProgrammersTalk Peon

    Messages:
    684
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Dependong on what you need. I'd personally prefer to use Linux :)
    But sometimes I also want Windows when I'm dealing with ASP.NET, but it's fine, you can use ASP.NET on your local machine haha..
     
    ProgrammersTalk, Jul 4, 2007 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you want PHP then use a linux server as it has the best support for it

    If you want .Net then use a windows server as it has the best support for it (Mono on Linux is still fairly flaky from what I have read but no first hand experience)

    The risk of switching from windows to linux is that you simply run into the same problems again - I would assume that as you chose .Net your programming skills are better in .Net than in PHP which would stand to reason your chances of getting the system running properly is better in .Net
     
    AstarothSolutions, Jul 5, 2007 IP
  4. corycollier

    corycollier Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Generally speaking, you can code on whatever you want. The specifics of how your host is setup can give you a headache or two. But generally speaking, if the version of your scripting language of choice (PHP, Python, Perl, etc...) is the same on the machine you're developing in, as the machine you're hosting on. You're going to be alright
     
    corycollier, Jul 5, 2007 IP
  5. pfek

    pfek Member

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #5
    I never had any problem working on a windows dev machine and then uploading to a Unix prod server...you may have to select "Unix File Type" in your local text editor if you don't want to have to deal with Unix/Windows handling of \r and \n

    There won't be any problems doing what you want to do on a Linux server, all what you want to do has already been done and tested thoroughly and it should be easy to find source code, tutorials and examples.

    Good Luck!
     
    pfek, Jul 5, 2007 IP
  6. sitefever

    sitefever Banned

    Messages:
    782
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Rule #1: NEVER NEVER NEVER use Godaddy hosting.

    Rule #2: Only use Windows hosting if there is a specific reason for doing so.
     
    sitefever, Jul 5, 2007 IP
  7. madarcu

    madarcu Peon

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you are not sure what type of site will you host, Windows will do it for everything. I personally prefer linux, but if you use .net you will have to use Windows.
     
    madarcu, Jul 6, 2007 IP
  8. Jetset

    Jetset Peon

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yeah never use windows hosting unless you have a very specific reason of doing so, as a rule of thumb Linux can do almost everything ten times better, it's more stable, and faster aswell. Choice is easy!
     
    Jetset, Jul 6, 2007 IP
  9. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #9
    .Net can run (poorly from my last look) on *nix via the Mono Project

    The "issue" with most windows hosting is that they naturally use the IIS webserver rather than Apache which means several core elements of modern PHP such as the .htaccess file doesnt work.

    For us though the big issue with *nix is the lack of .Net support and as we no longer develop in PHP due to .Net being quicker in both terms of development and live speed it is kind of a biggun
     
    AstarothSolutions, Jul 6, 2007 IP