There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
audio avg avg 8 blue screen brand new codec control panel conversion crash delete personal data desktop display dos driver drivers duplicate dvd error error message excel explorer file firefox game graphics hardware hijackthis log install installation internet itunes javascript lan laptop macro malware msconfig msn music network outlook outlook 2003 outlook express php problem random rundll32 security seo sound sp3 spyware switch tag cloud trojan usb video virtumonde virus vista visual basic vundo wallpaper windows windows vista windows xp wireless word xp sp3 youtube
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Best way to test the site before go live


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
skyhigh007's Avatar
Senior Member with 272 posts.
 
Join Date: Jun 2004
08-May-2008, 09:28 PM #1
Best way to test the site before go live
Hi

I have few questions about testing the site before go live.

1) is it a good practice or idea to test your site in the root folder with an index.html in it ?
The actual website is written in php , so index.php in it the root folder as well.

2) If I install the SSL already and I want to edit some of the files later on, do I have to reinstall SSL again ?

3) If I test my site in a sub folder with SSL installed, once i move it to the root folder, do I have to reinstall SSL ?


Thanks
awatson's Avatar
Member with 66 posts.
 
Join Date: Jan 2008
Experience: Advanced
14-May-2008, 04:54 PM #2
Well, the best option is to use a staging server and test on that, then move things to the live server after testing. Or you could use a subdirectory, possibly password-protected, for testing. If it's in a subfolder, you shouldn't have to change anything with the SSL - that's installed on the live server for the domain you run under, so it shouldn't be affected by your php.
tomdkat's Avatar
Computer Specs
Distinguished Member with 2,155 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
14-May-2008, 07:44 PM #3
I'm with awatson on this.

Peace...
skyhigh007's Avatar
Senior Member with 272 posts.
 
Join Date: Jun 2004
14-May-2008, 11:54 PM #4
After I test the site in the subfolder and everything works, I have to move all the files in the root folder, then some of the settings might have to change it again. Do you think the back end setting will still be the same ?
Mudley's Avatar
Computer Specs
Member with 59 posts.
 
Join Date: Apr 2008
Experience: Advanced
15-May-2008, 12:07 AM #5
i usually test on a subdomain like beta.domain.com
that way any graphic, css, or link paths can be relative to site root and any relative to file includes will still work
colinsp's Avatar
Computer Specs
Member with 46 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, noob PHP
15-May-2008, 01:16 AM #6
The other thing is to look at something like WAMP to develop and test locally before you go the sub domain route like Mudley suggests.
tomdkat's Avatar
Computer Specs
Distinguished Member with 2,155 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
15-May-2008, 10:02 AM #7
Quote:
Originally Posted by skyhigh007 View Post
After I test the site in the subfolder and everything works, I have to move all the files in the root folder, then some of the settings might have to change it again. Do you think the back end setting will still be the same ?
Without knowing the kinds of settings you're talking about, it's hard to know what will need to be changed.

If you use relative paths for locations of things, you shouldn't have to change much (if anything) when you move the files from the subdirectory to the root directory on the server. I do this kind of site testing frequently but I'm also using static HTML pages (even though I do test PHP form processing scripts in this manner as well) and not dynamically generated pages.

Here's a way to know what you'll need to change: anything that refers to an absolute path, whether it be a URL (http://www.domain.com/images/photo.jpg) or an actual directory path (/home/mydomain/path/to/something/file.txt), will need to be changed as you move the site from one directory to another. If you don't have any or many absolute paths involved, you won't have much to change.

Peace...
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 04:12 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.