Forum Discussion
DNS name result: 404 - File or directory not found.
Hello everyone,
I am using windows server and I have report server configuration manager and I can access the power bi dashboard using https with the hostname: https://hostname/reports and it is working fine.
the issue is I linked my hostname with DNS as Cname within my company network, when I try to access https://myDNSname.com/reports I got below error:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
the DNS name is correct but I don't know what is the issue. I kindly seek your support
thank you,
Regards,
__PRESENT
__PRESENT
- Anonymous1 year ago
Hi, MohammedNasser
You may need to open the Services Manager (press Win+R, enter services.msc and press Enter). Locate the SQL Server Reporting Services (MSSQLSERVER) service and make sure its status is Running. If it doesn't run, right-click and select Start.
Then open the Report Server Configuration Manager. Check the web service URL and web portal URL configuration to make sure everything is set correctly. You can check the following links:Configure the web portal - SQL Server Reporting Services (SSRS) | Microsoft Learn
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- AnonymousNot applicable
Hi, MohammedNasser
You may need to check the URL address to confirm that the DNS CNAME record points to your report server correctly, and use the nslookup or dig command to verify that the DNS record resolves correctly to the IP address of the report server. Check the IIS log file for more details to help diagnose the problem. If the certificate does not contain a DNS name, update or regenerate the SSL certificate. Maybe you can check the following link:
HTTP error 404 file not found on a server - Internet Information Services | Microsoft Learn
Also check that your DNS entries are correctly entered into the URLACL of the ReportServer. When looking at the "netsh http show urlacl" command, check whether the /Reports entry and the /ReportServer entry exist in the DNS entry. If the DNS entry does not exist, you can add it with the following command, for example: netsh http add urlacl url=https://myDNSname.com/reports user=EveryoneHow to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- MohammedNasserNew Member
I added /Reports entry and the /ReportServer in the URLACL, and faced a new error
Service Unavailable
HTTP Error 503. The service is unavailable.
- AnonymousNot applicable
Hi, MohammedNasser
You may need to open the Services Manager (press Win+R, enter services.msc and press Enter). Locate the SQL Server Reporting Services (MSSQLSERVER) service and make sure its status is Running. If it doesn't run, right-click and select Start.
Then open the Report Server Configuration Manager. Check the web service URL and web portal URL configuration to make sure everything is set correctly. You can check the following links:Configure the web portal - SQL Server Reporting Services (SSRS) | Microsoft Learn
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.