SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Addict revlimiter's Avatar
    Join Date
    Sep 2005
    Location
    British Columbia, Canada
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Web Development Environments

    I have been using subdomains to create development sites and the url structure goes like this: http://dev.domain.com

    It can be a bit of a pain due to the wait time involved with cPanel to create the subdomain and then it may take hours or even most of the day for the subdomain to actually show up, even after flushing my DNS cache.

    So can a development environment use ports instead of subdomain? http://domain:81
    Is it any easier to set up ports than subdomains for development environments?

    Also, I am on a shared host with Hostgator so I don't have a VPS or a Dedicated Server. I have thought about testing locally and this could be great for bandwidth improvements (no upload/download times while working locally) but I don't see it as being very efficient for showing clients the work. It means every time I want to show new work I would have to upload files to the server anyways and this could actually mean more time involved in the long-run with fighting with the database, or any other discrepancies with the local and hosted versions along the way.

    So in my opinion, I might as well be working with the real-time editor inside Coda 2. However, am I missing something crucial here that could greatly improve my development environments? I was reading this post http://net.tutsplus.com/tutorials/other/http-resources/ and it mentioned ports can be used for development environments so I figured I would ask on here if people prefer to use ports over subdomains and testing locally on here?

    Any reasons why?
    Thanks!
    "To make an apple pie from scratch,
    you must first create the universe.
    -Carl Sagan

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Off Topic:

    Quote Originally Posted by revlimiter View Post
    It can be a bit of a pain due to the wait time involved with cPanel to create the subdomain and then it may take hours or even most of the day for the subdomain to actually show up
    That's odd. For me they show up instantly when I create them through CPanel.

    You could set up subdomains on your own hosting account and do the development there, I guess. That's what I tend to do.

  3. #3
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,014
    Mentioned
    103 Post(s)
    Tagged
    0 Thread(s)
    There is a WAMP type server about that can be run off a usb stick, it may be worth looking it up to see if it meets your needs
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •