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.
  • Popular Now

  • Posts

    • There really isn't anything magical about the low latency profile, other OS's do this as well. All they're doing is using your CPUs boost clock options in a more smarter way.
    • So we shouldn't have the option because of people using their laptops on battery? OK? LOL
    • If you hear that fans for a limited time the CPU spikes to open a app I don't think the problem is with the software. There shouldn't be enough time spent at the higher clocks to produce enough heat to peak the fans. Maybe it's time to crack those dell laptops open and clean them out?
    • ActivePresenter 10.5.1 by Razvan Serea ActivePresenter is a screen recording, video editing, and eLearning authoring tool with a range variety of powerful features, helping you to capture screen and edit captured videos in a matter of minutes. Create professional screencasts that contain stunning annotations and effects, high-resolution graphics, videos, and voiceovers. You can capture any application on your computer, customize it easily by adding background music, closed caption, zoom-n-pan, etc., and finally export it to popular outputs (video, document) that can run on any device or platform. ActivePresenter allows you to generate the presentations in many different output forms such as image, videos (MP4, MKV, and AVI), HTML SlideShows, HTML5 simulations, and documents. More importantly, ActivePresenter free version provides full access to all video editing features, and you can edit and export videos without time limit, watermarks, or ads. ActivePresenter Free Edition features: Advanced recording features: Full Motion Recording, Smart Capture Video editing: Cut, Crop, Join, Change Volume, Speed Up, Slow Down, Blur Multiple Audio/Video Layers Rich annotations: Shapes, Image, Zoom-n-Pan, Closed Caption, Cursor Path, Audio/Video Overlays Automatic Smart Annotation Export to: MP4, FLV, AVI, WMV, WebM, MKV No Watermark and No Time Limit Clean & Safe: No adware, No Annoying Ads ActivePresenter 10.5.1 fixes: [Import PowerPoint]: Only the first slide is imported from some Canva-generated PowerPoint presentations. [Import PowerPoint]: Some Chinese theme fonts are resolved incorrectly. Embedded YouTube videos cannot generate preview thumbnails in the editor or play in HTML5 preview. [macOS]: Resources could be inserted into the current slide unintentionally when clicking or dragging in the Resources pane. [Publish uPresenter]: "Failed to process the presentation" error sometimes appears when publishing projects to uPresenter. [SCORM]: User responses are not reported to the LMS for Mouse Click and Key Stroke interactions. Custom hotkeys are reset or incorrectly remapped after updating from version 10.1.2 or earlier. Download: ActivePresenter 10.5.1 | 176.0 MB (Free, paid upgrade available) Download: ActivePresenter 10.5.1 for macOS | 227.0 MB Links: ActivePresenter Website | Demos | Tutorials | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      FBSPL earned a badge
      Week One Done
    • One Year In
      Jim Dugan earned a badge
      One Year In
    • One Month Later
      Tommi118 earned a badge
      One Month Later
    • One Month Later
      sjbousquet earned a badge
      One Month Later
    • Week One Done
      sjbousquet earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      PsYcHoKiLLa
      198
    3. 3
      +Edouard
      155
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      69
  • Tell a friend

    Love Neowin? Tell a friend!