Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6865371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:02:17+00:00 2026-05-27T03:02:17+00:00

My previous question got closed as those people did not quite understand my question.

  • 0

My previous question got closed as those people did not quite understand my question.

I have a computer that hosts multiple domains. I have another computer that hosts another some other domains. Some of those domains are on both computers.

There IP addresses (both computers have multiple IP addresses) are unique to a particular computer.

A sub-domain only exists on one computer.

e.g. news.bbc.co.uk lives on computer A
weather.bbc.co.uk lives on computer B

The domain being bbc.co.uk.

So the question is from news.bbc.co.uk -> how do I find the domain bbc.co.uk in PHP?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:02:18+00:00Added an answer on May 27, 2026 at 3:02 am

    try using parse_url function in php for getting domain name

    also check this previosuly answered link

    Get domain name (not subdomain) in php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

to those that may have read my previous question that got solved a couple
I've got this form working, but according to my previous question it might not
As unfortunately my previous question got closed for being an exact copy of a
In previous question I got comment about Oracle statistics: Oracle doesn't know that 50M
This is a expansion on to a previous question that got answered yesterday, which
Actually my previous question got me thinking and I realized that reversing a Dictionary
In my previous question I got an excellent answer that helped me detect where
Note: This is a sequel to my previous question about powersets. I have got
I asked about pipes in a previous question, got that working perfectly. However I
This question is based on my previous question which I got a working answer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.