LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-16-2015, 07:19 PM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Rep: Reputation: Disabled
How to map my local ip 192.168.1.100 with my vps_ip?


I have bought virtual host for one year,they gave me an vps_ip to use. I went surfing the internet this way:my pc connect to a wireless route ,wireless route connect to the adsl. When to input 192.168.1.1 in the firefox,the route status is as the following:

WAN:
MAC:A8:64:4D:34:A5:56
IP :153.0.48.32 PPPoE
subnet mask:255.255.255.255
gateway:153.0.68.1
DNS:114.114.114.114 223.5.5.5

LAN
MAC:A8:10:4D:76:A5:33
IP :192.168.1.1
subnet mask:255.255.255.0
DHCP:active

ifconfig
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0

I have build a wordpress on my local 127.0.0.1 .
How can i map or say bind 127.0.0.1 with my vps_ip?
It is the goal that anyone input my vps_ip in the firefox ,the wordpress in my local 127.0.0.1 will be displayed.
 
Old 08-19-2015, 04:05 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by luofeiyu View Post
I have build a wordpress on my local 127.0.0.1 . (..) How can i map or say bind 127.0.0.1 with my vps_ip? It is the goal that anyone input my vps_ip in the firefox ,the wordpress in my local 127.0.0.1 will be displayed.
Asserting that "vps_ip" is the publicly accessible IP address of your rented VPS, then one usually would set that IP address as the A record for a domain name. In that way (example) "luofeiyu.cn" could point to your web site (or whatever service) on your VPS. Asserting "a wordpress on my local 127.0.0.1" is a computer behind your home router then first of all what's the idea of renting a VPS and not using it?.. (Unless I do not understand correctly.) Secondly what you propose would mean that this LAN computer needs to be always on. In short, unless you can explain your reasons clearly, I strongly suggest you do not do that.
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] nslookup 192.168.143.10 ( server can't find 10.143.168.192.in-addr.arpa.: NXDOMAIN) mferozbaig Linux - Server 2 05-11-2014 06:08 AM
[SOLVED] iptables 192.168.1.x server, can't ping by 192.168.0.x momok Linux - Security 2 06-02-2011 01:32 AM
unable to add reverse map from 10.1.168.192.in-addr.arpa. to tftpadmin-desktop.bbnl.i arunrao_erp Linux - Networking 1 11-10-2010 06:02 PM
[root@wlxxb ~]# telnet 192.168.192.12 25 Trying 192.168.192.12... telnet problem cnhawk386 Linux - Networking 1 10-10-2007 02:50 PM
What route to access daisy chained 2d router 192.168.1.1 after 192.168.0.1 (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration