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

    • No kidding, Tim, we've been running low on memory for a while now... get your head out of the Apple pixie dust cloud and come back down to earth with us peons.
    • It's really pathetic that an MMA video game triggers your political rage...
    • Nvidia GeForce NOW gains support for seven more games as discounts continue by Pulasthi Ariyasinghe There's a brand-new update rolling out to Nvidia's GeForce NOW streaming service, and like every week, that means more games have received support on the platform. This week's drop has additions like Aphelion and Pro Cycling Manager 26 attached to it. Don't forget that the GeForce NOW summer sale is still active too. This limited-time offer drops the 12-month Performance membership from $99.99 to $64.99, saving members $35. At the same time, the 12-month Ultimate membership is currently going for $129.99, dropping the price by $70 from the original $199.99. Moreover, Nvidia reiterated that support for GOG single sign-in and game library is incoming this summer, joining stores like Steam, Ubisoft Connect, Battle.net, and Xbox. "Connect supported game store accounts and stream titles with GeForce RTX power. Games that include cloud-save functionality help keep progress intact across devices," added the company. "Start a game on one screen, pick up where playtime left off on another, and spend less time managing installs and storage space." Here are the games joining GeForce NOW's supported list this week: Embers of the Uncrowned Demo (New release on Steam, available 13) Pro Cycling Manager 26 (New release on Steam, available June 15) Aphelion (Steam) Citizen Sleeper (Epic Game Store, Free from June 18-25) Megastore Simulator (Steam) OPERATOR (Steam) Super Meat Boy 3D (Xbox, available on Game Pass) Keep in mind that, unlike subscription services like Game Pass or EA Play, a copy of a game must be owned by the GeForce NOW member (or at least have a license via PC Game Pass) to start playing via Nvidia's cloud servers. There is also a limit to how many hours subscribers can use the service per month, with extra time being purchasable in chunks.
    • 47% profit margin? Wtf!! I know companies are in business to make money but come on man. I know for a fact I'll never own one of these.
  • Recent Achievements

    • Week One Done
      Huge Trailer earned a badge
      Week One Done
    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
    • One Month Later
      eurospharma62 earned a badge
      One Month Later
    • Week One Done
      With What earned a badge
      Week One Done
    • Week One Done
      Harris Gilbert earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      532
    2. 2
      +Edouard
      167
    3. 3
      PsYcHoKiLLa
      72
    4. 4
      neufuse
      64
    5. 5
      ATLien_0
      63
  • Tell a friend

    Love Neowin? Tell a friend!