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 7923011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:09:51+00:00 2026-06-03T17:09:51+00:00

I have been creating my website on a local environment and I had no

  • 0

I have been creating my website on a local environment and I had no problems with it. I just uploaded the files to my free host. When I visit the website I watched the Google Chrome Console and I keep getting this error:

XMLHttpRequest cannot load
http://www.legobear154productions.byethost33.com/Javascript/main.json.
Origin http://legobear154productions.byethost33.com is not allowed by
Access-Control-Allow-Origin.

I am doing a JavaScript Ajax request with JQuery. Could anyone help me please?

  • 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-06-03T17:09:53+00:00Added an answer on June 3, 2026 at 5:09 pm

    As far as the HTTP protocol is concerned http://www.legobear154productions.byethost33.com and http://legobear154productions.byethost33.com are completely different domains. Javascript is prevented from running remote (different domain) scripts for security reasons.

    You’ll have to move your script to the same domain in order for it to work.

    edit

    There are other ways, see the page linked from the top voted answer here: A question about cross-domain (subdomain) ajax request

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

Sidebar

Related Questions

I have been having problems with creating a download list of files for a
So far I have been creating Web Portal but recently I had a request
I have been thinking of creating a website with asp.net. Is it possible to
I'm creating a simple mobile website to render specifically on iPhone. I have been
I have been creating my first database for a website and I have created
I have a website which I have been working on creating very rapidly, and
I have been creating a website with Ruby on Rails, and will be hosting
I have been assigned the task of creating some graphical stats for a website,
I have been creating a peer to peer connection for a new game, that
I have been creating an image gallery with jQuery, all is done. The images

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.