Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Community
Technology
Technology Q&A
Two domains different websites
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FirefighterKyle" data-source="post: 311124" data-attributes="member: 22469"><p>Hello Devbest user, what I need help with is how to use two different domains for two different webpages (HTDOCS) I am using Xampp and hamachi atm since I don't want to buy a VPS until I can figure this out.</p><p></p><p><strong>What I have done and is working: </strong>myfirstdomain.local and myseconddomain.local both work and goes to the correct htdocs (first one goes to htdocs and second one goes to htdocs2)</p><p></p><p><strong>What I am trying to do: </strong>Well since myfirstdomain.local and mysecondomain.local are only locally hosted (Only I can view) I want to make it so other people can view them also I have mysite.net and mysite2.tk . When I type mysite.net it works goes to htdocs and shows my website, but when I type mysite2.tk it redirects back to mysite.net, is it something I need to do in hamachi or what? How can I make it so when I type mysite2.tk it goes to htdocs2 like myseconddomain.local does? I really would like help with this since I really don't like having to go to mysite.net/mysecondsite, it just looks bad and ugly I want it to be separated so I can just type mysite2.tk and go to my second site. If anyone knows what I am trying to do please help me!</p></blockquote><p></p>
[QUOTE="FirefighterKyle, post: 311124, member: 22469"] Hello Devbest user, what I need help with is how to use two different domains for two different webpages (HTDOCS) I am using Xampp and hamachi atm since I don't want to buy a VPS until I can figure this out. [B]What I have done and is working: [/B]myfirstdomain.local and myseconddomain.local both work and goes to the correct htdocs (first one goes to htdocs and second one goes to htdocs2) [B]What I am trying to do: [/B]Well since myfirstdomain.local and mysecondomain.local are only locally hosted (Only I can view) I want to make it so other people can view them also I have mysite.net and mysite2.tk . When I type mysite.net it works goes to htdocs and shows my website, but when I type mysite2.tk it redirects back to mysite.net, is it something I need to do in hamachi or what? How can I make it so when I type mysite2.tk it goes to htdocs2 like myseconddomain.local does? I really would like help with this since I really don't like having to go to mysite.net/mysecondsite, it just looks bad and ugly I want it to be separated so I can just type mysite2.tk and go to my second site. If anyone knows what I am trying to do please help me! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Community
Technology
Technology Q&A
Two domains different websites
Top