Localhost install to mobile phone?
-
hi. I’m really new to wordpress., i want to know if it is possbile to share my development site to other computer or smartphones so that users can test it.if yes how? please help me..,
-
i use BackWPup to backup my files. plugins.and databases, also exported my content. but i see some tutorials but they phpmyadmin to import the database.
i haven’t try it accessing the site yet. i don’t know if WPI can really share the site. because what i know is Apache server only.
WPI doesn’t do anything except install WordPress and its prerequisites. After that you have full control. If you are doing this at your university and you can’t use the devices over wifi and lan, its most likely because the school network doesn’t allow it. That is something you will want to bring up with your teacher.
This is quoted from the BackWPup plugin:
“How do I restore a backup?
Up to now, there is no feature in BackWPup to restore a backup. You can follow these instructions from the WordPress Codex or this tutorial (also Codex) for more detailed information on cPanel, Plesk, vDeck and others.”As far as your current server software goes. You are not using apache or wamp, you are using Microsoft’s IIS. It is only as limited as your environment when it comes to the features we’ve been talking about. When you visit your website if the URL is https://localhost then you will need to change it to your IP address like in this picture of my test site. Here is another tutorial on another way to do this.
It really would have been best if you had just exported your site’s content into an XML file, then you could restore it more easily without having to restore the whole site, database and all.
This tutorial might also be helpful, I’d suggest moving down to the “restoring the data” section.
Thanks josphe..:) now i want to deploy or publish my site.,so that other computer could access it., via local network. but i can’t see the IIS interface..
There’s no need to access the interface. What do you type into your web browser to get to your site? Your computer has an IP address, that is what other people need in order to access your site.
There are two kinds of IP addresses. A LAN IP (this is for the internal network, think of it like a room number in a dorm) and a WAN IP (This is the IP that other people on the internet see when they are looking towards you, like the street address.)
If you only need people on your network to access your site, then you just need the local IP. Here are some quick instructions on how to get your IP.
Press WindowsKey+R to bring up the run prompt then type CMD (or open command prompt), the type inipconfig
, your local IP address is the one labeled “ipv4 address”.You know that picture I posted in my second to last comment? In the two boxes that I typed in `https://192.168.1.22/test/ is where your going to type you IP address instead of the one I used.
When you setup your wordpress with the WPI installer it gave you the option of making a site name, if you made one then you type it in after the IP address like I typed in “test”. If you don’t know what it is then look in the folder C:\inetpub\wwwroot\ in there will be a folder and that is your wordpress site, in my computer that folder’s name is “test”. (If you have folders such as “wp-admin”, “wp-content”, and “wp-includes” in that folder then you don’t need to worry about the site name, just the IP address.)
Now finally, when you are all done with that then others should be able to access your site. I’m going to use my ip and site name as the example. They just go in their web browser and type https://192.168.1.22/test and your wordpress sight will show up. All you have to do to edit this site is go to https://192.168.1.22/test/wp-admin from anywhere and you can edit your website. You were given the login information for this step when you setup wordpress in the WPI installer.
thanks for all this info joshpe.
i want to know if i can still work with my wordpress site even if im not connected with the internet? do webmatrix offer this kind of service?
and can i make another wordpress site with this?Yes, you can work on it without the internet. It is all managed right through the web browser. All you have to do is open your browser and type https://localhost/test. It doesn’t even need to be connected to any network for this method to work.
thanks joshpe :)now what my problem is i can’t see my website at C:\inetpub\wwwroot\, wwwroot was empty. there are other folders to it but its all empty. i think that’s the reason that i cant access my site.
i found my website folder at C:\documents\my website\test
That just means you didn’t pick the default location for the site, which is alright. I’m glad you found it.
I’m not sure if WPI changed the location of the site in IIS, so I’ll tell you how to check and change it if needed. Here is a tutorial if you have an older version of IIS. I’m running version 8.5
1. Open IIS Manager by pressing windowskey+R and entering InetMgr.exe. Sometimes it will come up if you just search IIS.
2.Select your website as I have in my example. Once you see the menu on the right press “stop” to stop the website from running.
3. Click “advanced settings” (which is below stop) to see the window I have open in the pic.
4. Change the “physical path” to C:\documents\my website\ (because that’s where you said your website is located.
5. Start the server again, it might take up to 15 seconds to start up.
try accessing your server by going to https://127.0.0.1 in the web browser of the web server. You should hopefully see your site.
i get server error when i access https://127.0.0.1
now when im accessing https://127.0.0.1 nothings happen.
i’ve done changing the path but still server error.
you need to add the name you gave the site. So if you named it test like I did then go to https://127.0.0.1/test. You will always need to add that test at the end since you gave it a name.
If you ever feel like you messed something up you can always just go into the IIS manager an remove the site, then use the WPI installer to try again. If you did that it would be easiest to leave everything default like in this picture. If you don’t give it a name, like “test”, then you won’t need to type it in after the address.
i get this kind of error joshpe.
HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\C:\Users\Bruno\Documents\My Web Sites\wordpress\web.config
Requested URL https://127.0.0.1:80/wordpress
Physical Path
Logon Method Not yet determined
Logon User Not yet determinedif i remove the site., i will start from the beginning on making the site again ??
- The topic ‘Localhost install to mobile phone?’ is closed to new replies.