SitePoint Sponsor |
|
User Tag List
Results 1 to 10 of 10
Thread: Switch to online server >>
-
Mar 26, 2008, 19:25 #1
- Join Date
- Aug 2007
- Location
- 216/GMT+1
- Posts
- 156
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Switch to online server >>
Hi,
I have already my own local web server. I want to convert it from local to online server to be able to view hosted sites, images and even share my documents with my distant family.
How to do that.
Thanks !!
-
Mar 26, 2008, 23:20 #2
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
online server
Easy. For example, if your local server is PHP, find a host that offers the same server (eg. LAMP) and once you get the site hosted start FTPing your files to it. If you have a database replicate the database and import your data.
The trick is findng a host with the same, or closely similar, configuration settings. ie. short tags, allow url fopen, magic quotes, global variables, safe mode, etc. etc.
So if you can't get at the server's httpd.conf (most shared hosts you can't) you may have to do some htaccess stuff and/or rewrite some of your script.
Hopefully by the time the domain name gets propagated the site will be ready to go live.
What kind of local server and files do you have now?Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Mar 27, 2008, 02:58 #3
- Join Date
- Aug 2007
- Location
- 216/GMT+1
- Posts
- 156
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thank you very much first Mittineague.
Well I have XAMPP pack php+mysql server (local) I have also I dot com domain (in shared server) . the idea is to connect my local pc/server in my room to the world. It is very funny. I don't know very well how to do that, I buy and IP @ and I point it to my local network, or use my domain. I found also Opendns is that service is usful in my case
I'm in trouble !! some guide lines or somethings to do it, thanks again.
-
Mar 27, 2008, 10:50 #4
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
server
I don't think you really want to "open your computer to the world", needing to be connected 24/7, bandwidth and security issues, and all that.
You have a server on your local machine, which is great for development, but it is not the same as a production server.
IMHO , the thing to do is copy your site from your development server to the production server.Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Mar 27, 2008, 16:00 #5
- Join Date
- Aug 2007
- Location
- 216/GMT+1
- Posts
- 156
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
don't think you really want to "open your computer to the world",
-
Mar 28, 2008, 11:08 #6
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
hosting from home
If you're serious, perhaps some of these articles will help you get started.
http://www.sitepoint.com/gurulists/#gurulist-12Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Mar 28, 2008, 11:36 #7
- Join Date
- Aug 2007
- Location
- 216/GMT+1
- Posts
- 156
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you're serious, perhaps some of these articles will help you get started.
-
Apr 1, 2008, 19:48 #8
Just install iis, easiest way to publish things. It comes with xp and vista.
-
Apr 2, 2008, 02:39 #9
- Join Date
- Jul 2007
- Posts
- 44
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Install apache on your Linux Host (www.howtoforge.com). Then you just need to port forward on your internet router to allow port 80 access to your internal IP. You can also use a dynamic dns service (free) to get a nice subdomain for your test site (dyndns.org).
Now for the warning - you want to ensure your test server is secure as you are inviting the world into your local network and not everyone is nice..... so read up on guides to securing your server before you open that port.
-
Apr 2, 2008, 04:06 #10
- Join Date
- Aug 2007
- Location
- 216/GMT+1
- Posts
- 156
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Now for the warning - you want to ensure your test server is secure as you are inviting the world into your local network and not everyone is nice..... so read up on guides to securing your server before you open that port.
Bookmarks