Plesk - http access without domain - using plesk-site-preview forever? - plesk

I want to store data for an android app on the server and make in accessable over http for API without having a domain
When I create a "website" in plesk like example.com without registering any domain then I am able to access the data like: IP/plesk-site-preview/example.com/
But the question is can I do it forever? does it has any disadvantages? Is there a "pretier" way than plesk-site-preview? Like IP/example/ for example?
I'm using Plesk Onyx 17.8.11
Thanks in advance

In Plesk, go to Tools & Settings > IP Addresses > click on a public IP address, to which the required domain is assigned in Plesk > select an offline website as a Default site from the drop-down menu.
Now, to access the domain, type in the public IP address chosen above in a web-browser: http://203.0.112.2:80.

Related

How can I access the Planon app from my (personal) laptop?

I cannot access anymore the planon application using the link provided in Tellit (http://prod478.prod.telenet.be:18070/startpage/PROD/START).
I get this error message in my browser:
enter image description here
Tried restarting VPN (Palo Alto), different browsers, incognito mode, restarting laptop, ...
Found out the problem is the app has been migrated to a server which is not accessible through VPN.
You need to access it through Remote Desktop.
One possible way to achieve this is go to this link : https://rdweb.wvd.microsoft.com/arm/webclient
then yo can use the provided Edge browser to browse to the Planon app.
However in order to do so, you need to request one additional TIM right:
(A) AVD - AG - PRD - Digital Solutions (Groups Azure Virtual Desktop)
I had also asked this one PA_Planon (Groups SSL VPN), but suppose it was not useful anymore as VPN access is not allowed.

Apache2 forwarding to an old ddns server

I own a domain for a website (let's just use "X.com"), which for now I'm hosting on my home computer. This domain name points to my dynamic dns (x.ddns.net) name in the web forwarding of the domain name registrar as I have a dynamic ip and I haven't yet found a better way to make sure that the IP is consistently updated.
I recently changed the ddns address (y.ddns.net) and now whenever I try to access my site either from accessing the main domain name (x.com), or via typing in the local lan ip (192.168.1.56) I keep getting forwarded back to my original ddns address (x.ddns.net) and the website won't load.
I've looked through all the settings I can find both locally, with the ddns provider and with the (x.com) registrar to try to pin point where the forward takes place but I'm totally stuck.
Host system is Ubuntu, everything is up-to-date, nothing in /etc/hosts file pointing to the old ddns.
Thanks in advance for any help.
Try DDNS on Cloudflare
Only problem is that you need to move your domain to cloudflare dns servers which is totally free to use.

Not able to access a port on ec2 instance for an Angular app

I am working on an angular app using the angular cli to set things up. Running the ng serve command spawns a server at this address <my_ec2_host_name>:4200. When I try to access the page on the browser it doesn't work (connection timed out error). I believe this is because of security reasons so I added the following rule to my security groups for the ec2 instance:
Port 4200 should now be accessible but I still can't get the page to load. Can someone think of how to get this to work?
Start angular with below command.
ng serve --host=0.0.0.0 --disable-host-check
it will disable host check and allow to access with IP
You can set up the host option like this:
ng serve -host 0.0.0.0
The steps you are doing are correct for opening a port via Security Groups in the EC2 console. Make sure you are modifying the correct security group, and make sure that your changes have been saved.
Your container may have additional firewalls in place, so you will want to check the OS documentation. For Example, RHEL uses iptables as a further security measure: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security_Guide/sect-Security_Guide-IPTables.html.
That looks correct. Are you sure that your server is running and listening for connections?
You should ssh to that server and verify that the page can be loaded locally. Eg:
curl http://<YOUR HOST IP ADDRESS>:4200
eg: curl http://54.164.10.123:4200
You should be careful to use the public ip address (eg: IPv4 Public IP when you're in the EC2 console). I've run into problems in the past where I've got a server listening on one IP address (often localhost) and not the public ip address.
Also maybe a problem: Is your host inside a VPC of some sort?

How make the Google Cloud Storage Bucket as a static-website Visible With and Without www?

Hello to everybody after all correct configurations as I followed at the "Documentation of Google Cloud Storage - Configuring a Bucket as a Static Website" my bucket it work as a website but the problem is about the prefix WWW in fact when I visit the bucket http://www.pieropretti.net I can see the content of the public bucket, but if I visit (from the browser Chromium version 42.0.2281.0 (64-bit) and same problem from the browser FirefoxESR 31.4.0 (Tor Browser 4.0.3) without the prefix WWW I receive the error server not found. This is the screenshot of the domain name DNS configuration in the picture here http://tinyurl.com/ncoc9y5
"www.pieropretti.net" and "pieropretti.net" are different domain names, and thus also correspond with different buckets. If you want to serve content from "pieropretti.net", you will need to create a bucket named exactly "pieropretti.net" in the same way you created the "www.pieropretti.net" bucket.
From what I can see, the DNS setting for "pieropretti.net." doesn't seem to have a CNAME, despite what your panel is telling you. Perhaps it just hasn't propagated to me yet.
From DNS records I notice that you are on OVH, if it is you can use the OVH Redirection Technology to redirect from naked to WWW.
If you are on other maintainers don't worry all offers service like OVH for redirect the naked to the www.
For top-level domain name we can't add CNAME, we can add A record, so I goto my Terminal and ping c.storage.googleapi.com to get the IP address, then I use the IP address to add into the A record, it works for me, just not sure whether it's an appropriate way to do it this way or not, but it just works for me.

Domain Name Does Not Exist In The Database in DNN 5.6.2

i found this error "Domain Name Does Not Exist In The Database" in DNN 5.6.2.
when i run my web site in another computer that time this kind of error is genetared.
i dont know why this happen.
I know this might be very late, but for anyone having this issue,
I had the same issue, after I made sure that I have updated the "Portal Alias" table in db, to have a HTTP Alias (for my local host, I set it to localhost:8089 which was equal to what I had set up in IIS binding for DNN website), with the portal ID of 0 (as my portal id was 0),
I was checking to be sure I have updated web.config file with data base connection strings, but then I realized there were two points for database connection in web.config, and I was missing one of them.
So make sure to update both two connections as:
1) <connectionStrings>
2) <appSettings>
Hope this helps.
How have you set up your website and how are you accessing your site from this other computer?
I'm assuming you have done this
1) Add binding to your IIS site, www.xxx.com or something
2) Set up the hostname on your domain so its accessible to all
3) Log in as Host and add a new portal alias to your portal
if it's http://localhost/xxx that you've set up the website on, and have not set up a non-localhost url for it, that will be the issue at hand.
To access it from another computer, you'll have to use the PortalAlias. Get access to your database and you'll be able to see all the portal aliases that your portal can use.

Resources