Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two domains, two different websites.
#1
Hello everyone I really would like some help with this, here is what I am using Xampp and Hamachi.

What I have done and working: rewrote Xampp httpd.conf and httpd-vhosts.conf so I can use htdocs and htdocs2, local domains work (myfirstdomain.local and myseconddomain.local)

Since myfirstdomain.local and myseconddomain.local is only locally hosted (Only I can view them) I want to it so other people and friends to be able to view it, so I have two domains (not going to give them out so here is an example) mysite.net and mysite2.tk,

Well mysite.net works fine and goes to my htdocs file and shoes my website/php codes etc.

What I need help with: But when I type mysite2.tk it redirects me back to mysite.net? How can I make it so mysite2.tk goes to htdocs2, and show my second site? I can just put my second site into the first htdocs but to get to my second site I would type mysite.net/mysecondsite which is just ugly. So if anyone can tell me if its something I need to do with my hamachi with the IP or anything please share since I am really wondering how I can use mysite2.tk and have it show my second site. Thanks in advance for anyone who helps me.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Any Tool for generating Static WordPress websites? Adnorips 0 427 05-21-2021, 04:55 AM
Last Post: Adnorips

Forum Jump:


Users browsing this thread: 1 Guest(s)