set up addondomain getting "This website no longer exists or never existed." - cpanel

I setup an addondomain and I was able to create it following this link. Now I wanted to access that addondomain using the name I used in the Addon Domains column. In this link the equivalent of the address I want to access is exampledotcom.main-domain.com but I am getting "This website no longer exists or never existed."
I'm asking is it the problem of creating the addondomain or I'm just accessing the incorrect address

exampledotcom.main-domain.com
Is a Subdomian.
another-domain.com
or main-domain.com would be
Would be an Addon Domain.

Related

Duplicate query strings in url

I have a site that was recently moved to a new server. It seems as though if a link on the site, or entered directly in the address bar, include a query string such as :
https://www.web.site?id=5314&type=course
It would automatically duplicate it to be:
https://www.web.site?id=5314&type=course&id=5314&type=course
Notice the duplicate url parameters?
id=5314&type=course&id=5314&type=course
I've combed through my code and I cannot determine what's causing this. Is there anywhere else I should be looking?
This is a ColdFusion site running on a Windows server.

API code giving me a 4040 error

I am trying to create a link for making a Google review for my business. It asks to use my API, but when I attach the API with the corresponding code, it gives me a 404 error.
Here are their instructions:
Go to the Google Places API.
Enter your business information in the “Enter a location” field at the top of the map.
Click your business name in the list that appears.
Your Place ID will appear on the map, beneath your business name.
Add your Place ID to the following URL to create your link:
https:// search.google.com/local/writereview?placeid=
Using the example above, the URL with the Place ID added would be:
https:// search.google.com/local/writereview?placeid=ChIJj61dQgK6j4AR4GeTYWZsKWw
When I add my URL to this: https://search.google.com/local/writereview?placeid=EiUyNzg4IFNvdXRoIFN0LCBMaW5jb2xuLCBORSA2ODUwMiwgVVNB
I get a 404 error.
I am not tech savvy, but I am doing my best to understand this. What am I doing wrong?

Authenticate in Lotus Notes on localhost

This might sound a little complicated, but as I'm often working on my local databases in Lotus Notes I got the problem, that I can not authenticate. So I'm always working as Anonymous on my database.
The Problem is, that I can not test all functions, because for that I would need a valid Notesname.
How can I authenticate on localhost to work with my name/account and not as Anonymous?
You can not authenticate XPages/web applicatons using the local HTTP preview. You need to install a local server to do that (which is a good thing anyway for XPages development).
Try connecting to your machine using the fully qualified domain name, e.g. ^http://mymachine.mydomain.com instead of localhost
You can add yourself to your local address-book. And have it added to Database Security as Manager or whatever you want. That will help you to login using HTTP for local database.
I am looking to also do this, and I recalled a tip from searchdomino.com, the poster is Shawn Dezego
http://searchdomino.techtarget.com/tip/Testing-Authentication-Authorization-in-a-Web-App-Locally-WIthout-Running-a-Domino-Server
Here's the gist:
Just create any groups in your local address book and add your name to
the proper groups, roles etc. Then go to your Domains public address
book (Domino Directory), copy your person doc and paste it in your
local NAB. That's it.
This is the same basic tip as offered by the adjacent commenter. However, I think this may not work for Xpages apps, so I am loading a local server anyway.
Just create a person document in local NAB (names.nsf) and add HTTPpassword field with your password (hash it using #password("mypassword") formula) as text.
Make sure the person document contains the Fullname field, where you can put as test list your aliases. But Notes will use the first field entry as your name.
And remeber to set the first entry in canonical way (cn=user/ou=organization/o=domain)
Now you are ready to use this name in ACLs and names' (nested) groups.
I suggest to use hosts file to remap localhost with your site domain.
Enjoy!
(P.S. : You need to add anonymous entry in your db's ACL, and set it to editor access level. Once opened the application with browser, use the url command "&login" to force Notes to authenticate you)

weebly : A record Mapping

I want to know how is this done. I make a site at weebly, ( it's a sitebuilder).
I get a site xxx.weebly.com
If I want my custom domain name, I set A record of custom domain name to point to server : 199.34.228.100
Question is, how that default application(on 199.34.228.100) works which takes my domain name and show the content of the site to me?
Suppose your custom domain name is 'mysite.com'. At weebly, you set the A record to 199.34.228.100 which is like saying 'when someone wants to access 'mysite.com' I want them to be sent to 199.34.228.100.
This information is given to all the dns servers around the internet over the next few hours but can sometimes take longer. Afterwards, whenever a request is sent out for 'mysite.com' it will be mapped to 199.34.228.100.
This is weebly.com and when the request arrives, it will come with information saying that the original request was for 'mysite.com'. Weebly then looks in it's records to see who wanted that to happen, see that you made the change and knowing that you have xxx.weebly.com, show that site.
I hope that helps
This process is called domain forwarding to external IP address.
The information about redirection is to be set in following order:
1)
first at A record - this information means that all internet traffic at "yourdomain.com" should be forwarded to weebly static IP address (one of several provided by weebly)
2)
make changes in weebly panel to configure your web page - entering "yourdomain.com" as main url
http://kb.weebly.com/domain-registrar.html
best,
Peter

Can we use Request.QueryString in classic ASP if using URL masking?

I'm writing a website for a local club of ours. I've got all the site written in ASP linked to our backend SQL server and it works lovely. I want to create player profiles now. Normally I would use "(a href=playerdetails.asp?ID=1) Player 1 (/a)" then in the ASP section of the page use strsql = "SELECT * FROM Players Where ID=" & request.querystring("ID").
However, this is where my problems starts. To save money for the club, I am also hosting the site for them on my private domain. We have registered there domain and instead of paying for hosting, we're just redirecting the traffic via the domain registers URL forwarding, using masking. Therefore instead of the URL saying www.mydomain.com/club/ it says www.club.com.
Thus the original question... Can I use request.querystring with the setup we have? If not, is there a way around it as the club doesn't really have the budet for a hosted site with SQL in the backend.
Thanks in advance,
Paul.
PS <'s in the link replaced with ('s to display correctly.
A couple of things:
URL Masking uses frames to hide the actual URL. You can still use query string values in the URL, however you will not see the URL in the address bar change, because it will always be www.club.com do to the URL masking.
http://en.wikipedia.org/wiki/Domain_Masking
Second you are opening up your site to SQL injection attacks:
NEVER trust user input
NEVER use Request.QueryString or Request.Form in SQL states without filtering out bad characters and keywords.
http://en.wikipedia.org/wiki/SQL_injection