Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: masking domain

  1. #1
    Regular Coder
    Join Date
    Sep 2008
    Location
    Oklahoma
    Posts
    249
    Thanks
    11
    Thanked 13 Times in 13 Posts

    masking domain

    I dont even know if I can do this, but here it is.
    Im trying to make it so when you go to one of my websites, it loads with that content, but shows another domain in the address bar (i.e. going to onesite.com shows that html but shows twosite.com in the address bar)
    any way of doing this in php or htaccess?

    Thanks
    OwT
    Last edited by owt200x; 11-14-2008 at 06:46 PM.

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    Tried using a frame?

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Why would you want to do this? Can't you just redirect?

  • #4
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    You cannot and some may question whether you are trying to pull something.

  • #5
    Regular Coder
    Join Date
    Sep 2008
    Location
    Oklahoma
    Posts
    249
    Thanks
    11
    Thanked 13 Times in 13 Posts
    i think i got it using iframe, it seems to work. heres what i was doing:
    i added my form code to someones template, but there server doesnt use smtp right and it configured way wacked. So Open Captcha wouldnt work, neither would sending the form through smtp. What I was trying to accomplish was to use her contact form using her template, hosted on my website. And she could go to her website and open the contact.html page, which would load everything from my website, and still show her domain in the address bar. It works using Iframe. Nothing "nefarious" and im not trying to pull something, just trying to help someone out whos server is ____ until she can get a new one.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •