dcsimg
www.webdeveloper.com
Results 1 to 8 of 8

Thread: Could I set up my website before renting a server?

  1. #1
    Join Date
    Nov 2013
    Posts
    45

    Could I set up my website before renting a server?

    I could set up a website using XAMPP and then when I have rented a server all I need to do is move the data over.

    This way I wouldn't have to pay before setting the website up, I could just move the data over without even having the server rented out, would that be possible or would I have to rent the server and then code the webpages. You can make a HTML page without having a server and you can use XAMPP for server side languages like PHP but could you do this for your whole website?

  2. #2
    Join Date
    Aug 2006
    Posts
    1,943
    Quote Originally Posted by NullDrone View Post
    You can make a HTML page without having a server and you can use XAMPP for server side languages like PHP but could you do this for your whole website?
    It depends what other capabilities you mean when you say "your whole website", and whether those are available to install on your local machine. If you can get and install them locally, then the answer is yes.

  3. #3
    Join Date
    Mar 2012
    Posts
    1,816
    The answer is - yes. I develop and debug my sites off-line using wampserver. No amendments are ever done direct to the live sites, no matter how trivial!

  4. #4
    Join Date
    Nov 2013
    Posts
    45
    Cool, great, amazing.

    But what about the links because if you are including a link in the page to a certain location that is on your local machine, then wouldn't all the links become invalid? For example I am trying to connect one page to the other so I specify a local link on my computer. But when I move it over to the website then wouldn't become invalid as the location would of changed? It would not be local anymore, it would be on the server.

  5. #5
    Join Date
    Oct 2013
    Posts
    600
    As long as your links are relative and not absolute they'll work anywhere.

  6. #6
    Join Date
    Oct 2013
    Posts
    79
    In many cases you will need to make some serious financial investment when starting your own hosting firm. Be very weary of the fact that many of the software on the market are not cheap, and the type of servers most of your clients will be expecting their sites to be hosted on, will not be cheap either.

  7. #7
    Join Date
    Mar 2012
    Posts
    1,816
    Quote Originally Posted by Kevin2 View Post
    As long as your links are relative and not absolute they'll work anywhere.
    Just to expand on this reply:

    If you are writing HTML/CSS then you can make all the links relative and the only likely problem is capitalization of link addresses. This is because, if you are developing locally on a Windows platform, then it ignores capitalization errors. E.g. "path/file.html" is treated the same as "Path/File.HTML" and "PATH/FILE.html" etc... However, if the live server is Unix based, non-matching capitalization of links will fail when you put the pages to live.

    If you use a CMS, the above still applies, but you are also dependent on:

    a) Being able to download a local copy of the development environment, or some other such arrangement.

    b) Whether the tool supports relative addressing.

  8. #8
    Join Date
    Nov 2013
    Posts
    45
    Quote Originally Posted by Carlos Moulton View Post
    In many cases you will need to make some serious financial investment when starting your own hosting firm. Be very weary of the fact that many of the software on the market are not cheap, and the type of servers most of your clients will be expecting their sites to be hosted on, will not be cheap either.
    I wasn't talking about setting up my own hosting firm.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles