Recommended Posts

Hello,

I have been hosting my Wordpress site from my own local server. using www.ABC.com. but now i would like to host another site with new domain www.xyz.com on same server i have created site just fine using port 90 as 80 was in use by previous site. how can i forward www.xyz.com to this 90 port of my site.

or iam doing it all wrong by hosting site on port 90

Can someone please help.

Regards

Link to comment
https://www.neowin.net/forum/topic/1109357-hosting-multiple-sites-on-1-server/
Share on other sites

dns can not forward to different ports.

What you would do is setup host headers IIS or virtual host in apache.

Now servers sees the name your trying to reach be it www.abc.com or www.xyz.com and serve up the correct site. This would all be done on port 80 and if same IP address.

if you have multiple IPs then you could point www.abc.com to IP1 and xyz to IP2 -- but if you only have 1 IP address then you need to use host header based hosting.

http://httpd.apache.org/docs/2.2/vhosts/name-based.html

http://technet.microsoft.com/en-us/library/cc753195%28v=ws.10%29.aspx

  • Like 2

dns can not forward to different ports.

What you would do is setup host headers IIS or virtual host in apache.

Now servers sees the name your trying to reach be it www.abc.com or www.xyz.com and serve up the correct site. This would all be done on port 80 and if same IP address.

if you have multiple IPs then you could point www.abc.com to IP1 and xyz to IP2 -- but if you only have 1 IP address then you need to use host header based hosting.

http://httpd.apache....name-based.html

http://technet.micro...v=ws.10%29.aspx

He speaks da truth x USe port 80 when possible.... Some companys block traffic that isnt port 80

This is exactly how shared web hosting works on webhosts. They can have 10's if not 100's of sites hosted off the same IP address all on port 80.

They sure don't give every user their own IP, unless you pay extra for that ;) And you can host unlimited number of domains off the same IP.

Why would you think that? These are sites that are resolved on the public internet right. Who provides your dns for abc.com now? Your registrar, some dns service like zoneedit, dnsmadeeasy, etc. Just point your A record for www for xyz.com to your IP and there you go, where ever you host that dns at.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Formatting would be awesome if fully customised and then roll out the settings as a company wide standard.
    • I just want to know why the volume control feature in the browser version keeps appearing then disappearing, here today - gone tomorrow. Now it's gone again. Annoying as hell.
    • When you have only lies and blood libels to present, you've lost. And how hard is it for you to look up BBC and AP? You hate Jews, just admit it.
    • This article does not make sense and it’s very evident, the bug wasn’t confirmed to exist, because the application itself runs on editions of Windows which make it impossible to run Hyper-V VMs on, “Basically, Claude Desktop on Windows spins up a 1.8GB Hyper-V virtual machine if you use Claude Cowork or agent mode even once.”, suggests the bug is caused by something else otherwise it would only happen to users with the capability of running Hyper-V VMs and that’s only if Hyper-V was enabled which is by default not enabled. The true issue is that the author who reported the bug used the incorrect terminology, it’s actually a container, not a VM that is being started by the way. There were users on macOS reporting the same issue, Hyper-V, doesn’t exist on that platform obviously. Every single user who confirmed the problem in the last week was either using macOS making this issue impossible to be relevant to them, or was a comment talking about WSL, which the author indicated 3 months ago was disabled.
    • “To prevent hallucination issues and keep the database clean, the platform uses a multi-agent verification loop to check code quality.” - This absolutely isn’t happening. ”Before the massive rise of LLMs, which tanked its traffic by about 50% over the last couple of years, Stack Overflow was the go-to website for millions of programmers seeking coding solutions.” - It still is trusted, because the community of users, blocked other users from submitting false and misleading answers generated by AI agents that can be convinced something it generated is actually incorrect even if it’s actually correct. The company itself doesn’t know what it wants to be so it keeps trying and failing to introduce AI features to the platform. This effort will also fail, already submitted one successful poison pill, look forward to generating more.
  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      524
    2. 2
      PsYcHoKiLLa
      211
    3. 3
      +Edouard
      160
    4. 4
      Steven P.
      98
    5. 5
      ATLien_0
      83
  • Tell a friend

    Love Neowin? Tell a friend!