Help - How to point my VPS - server's IP to my main domain ? ie.Display the same data

Discussion in 'Site & Server Administration' started by nadlerz, May 1, 2012.

  1. #1
    nadlerz, May 1, 2012 IP
  2. Iann@LFCVPS

    Iann@LFCVPS Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Please provide what you are using as a web server as well as the relevant configuration files.
     
    Iann@LFCVPS, May 2, 2012 IP
  3. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #3
    Running under CentOS 5.8 Final
    Apache 2.2.22
    With DirectAdmin
     
    nadlerz, May 2, 2012 IP
  4. hclloveh

    hclloveh Peon

    Messages:
    299
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You should creat .htaccess file which contains these lines and put into your htdocs/public_html folder on VPS:

     
    hclloveh, May 3, 2012 IP
  5. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #5
    But, I want to display same content, not to redirect it to my domain.
     
    nadlerz, May 4, 2012 IP
  6. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #6
    Here is an example:


    Host Name : boxbilling.com
    IP Address : 212.1.209.3

    The hostname and ip address display the same data.
    How to do this?
     
    Last edited: May 4, 2012
    nadlerz, May 4, 2012 IP
  7. Sensei.Design

    Sensei.Design Prominent Member

    Messages:
    3,847
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    310
    Digital Goods:
    1
    #7
    There is no need to use a .htaccess from my point of view.

    Use the DNS Settings to route the domain to your IP address and depending on your further plans you can use management software like cPanel to route it where ever you want.

    As nadlerz said adding it as a hostname will also enable you to open your server using the domain
     
    Sensei.Design, May 4, 2012 IP
  8. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #8
    Boxbilling staff said, it's
    "reverse ip"
    Any tut's ?

    Running centos 5.8 with DirectAdmin​
     
    nadlerz, May 4, 2012 IP
  9. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #9
    Any idea? Please.
     
    nadlerz, May 6, 2012 IP
  10. warek44

    warek44 Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #10
    I don't know about cache but the strange thing is I can not see the impressions in Google website for couple of days back and people do come from google which I have seen in Google Analytics, so something is going on with Google.
     
    warek44, May 6, 2012 IP
  11. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #11
    I think...Cache, ang Google is not related with my question?
     
    nadlerz, May 7, 2012 IP