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 !!
| SitePoint Sponsor |

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 !!


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?

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.


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.

Just for testing purposedon't think you really want to "open your computer to the world",


If you're serious, perhaps some of these articles will help you get started.
http://www.sitepoint.com/gurulists/#gurulist-12

Mittineague, thank you very very very much !!If you're serious, perhaps some of these articles will help you get started.
![]()
Just install iis, easiest way to publish things. It comes with xp and vista.
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.![]()

thank you the_wandererNow 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